'不记录', 1=>'记录', ]; return $status[intval($value)]; } public function getNameAttr($value) { if(empty($value)){ $value = $this->getData('app').'/'.$this->getData('controller').'/'.$this->getData('action'); } return $value; } }