修改前台路由加载

This commit is contained in:
liaofei 2023-06-25 14:56:35 +08:00
parent 047e6ee4b3
commit ed53a01bb3
2 changed files with 2 additions and 1 deletions

View File

@ -175,7 +175,7 @@ class SystemAdmin extends AuthController
return app('json')->fail(400183);
}
}
if ($this->services->updateAdmin($this->adminId, $data))
return app('json')->success(100001);
else

View File

@ -14,6 +14,7 @@ Route::miss(function () {
switch (strtolower($appName)) {
case config('app.admin_prefix', 'admin'):
case 'kefu':
case 'app':
return view(app()->getRootPath() . 'public' . DS . config('app.admin_prefix', 'admin') . DS . 'index.html');
case 'home':
if (request()->isMobile()) {