Browse Source

修改前台路由加载

liaofei 2 năm trước cách đây
mục cha
commit
ed53a01bb3

+ 1 - 1
crmeb/app/adminapi/controller/v1/setting/SystemAdmin.php

@@ -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

+ 1 - 0
crmeb/route/route.php

@@ -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()) {