Update Index.php

This commit is contained in:
Anyon 2022-01-21 13:37:53 +08:00
parent 7a08b76dbd
commit 044019921b

View File

@ -38,7 +38,6 @@ class Index extends Controller
public function index() public function index()
{ {
/*! 根据运行模式刷新权限 */ /*! 根据运行模式刷新权限 */
$debug = $this->app->isDebug(); $debug = $this->app->isDebug();
AdminService::instance()->apply($debug); AdminService::instance()->apply($debug);
/*! 读取当前用户权限菜单树 */ /*! 读取当前用户权限菜单树 */