where('id!=0')->order('id desc')->select(); $this->assign('meta_title', "首页"); $this->assign('version', $version); $this->display(); } /** * 默认方法 * */ public function index2() { $this->display(); } /** * 默认方法 * */ public function index3() { $this->display(); } /** * 删除缓存 * */ public function removeRuntime() { $file = new \Util\File(); $result = $file->del_dir(RUNTIME_PATH); if ($result) { $this->success("缓存清理成功"); } else { $this->error("缓存清理失败"); } } }