forthMenu(); // 实例化默认模型 $this->thisDefaultModel = new ArticleCategory(); } /** * Common: 分类列表 * Author: wu-hui * Time: 2022/10/14 15:29 * @return array|mixed * @throws \think\db\exception\DataNotFoundException * @throws \think\db\exception\DbException * @throws \think\db\exception\ModelNotFoundException */ public function index(){ if(request()->isAjax()) return parent::index(); return $this->fetch('cate/index'); } }