public function __construct() { parent::__construct(); $this->model = M('model')->getByName('youaskservice_user'); $this->model || $this->error('模型不存在!'); $this->assign('model', $this->model); }
public function __construct() { parent::__construct(); $this->model = M('model')->getByName('youaskservice_user'); $this->model || $this->error('模型不存在!'); $this->assign('model', $this->model); }