* Class Ceshi * @package app\admin\controller */ class Ceshi extends AdminController { /** * Ceshi模型对象 * @var \app\admin\model\Ceshi */ public function __construct() { parent::__construct(); $this->model = new CeshiModel; } /** * 默认生成的方法为index/add/edit/del/status 五个方法 * 当创建CURD的时候,DIY的函数体和模板为空,请自行编写代码 */ /** * zdy 函数 */ public function zdy() { return $this->view(); } /** * xiaoMing 函数 */ public function xiaoMing() { return $this->view(); } }