mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-10-29 05:50:50 +00:00
修改前台路由加载
This commit is contained in:
parent
047e6ee4b3
commit
ed53a01bb3
@ -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
|
||||
|
||||
@ -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()) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user