public function add($model = null) { is_array($model) || ($model = $this->getModel('credit_confit')); $this->meta_title = '新增' . $model['title']; parent::common_add($model, 'Think:add'); }
public function add($model = null) { is_array($model) || ($model = $this->getModel($model)); $this->meta_title = '新增' . $model['title']; parent::common_add($model); }
public function add() { parent::common_add($this->model, T('Think/add')); }