Explorar o código

更新基础路由

evoxwht %!s(int64=2) %!d(string=hai) anos
pai
achega
cbdfcaea82
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      crmeb/route/route.php

+ 1 - 1
crmeb/route/route.php

@@ -25,7 +25,7 @@ Route::miss(function () {
             return view(app()->getRootPath() . 'public' . DS . 'index.html');
         default:
             if (!request()->isMobile()) {
-                if (is_dir(app()->getRootPath() . 'public' . DS . 'home') && !request()->get('type')) {
+                if (is_dir(app()->getRootPath() . 'public' . DS . 'home') && !request()->get('mdType')) {
                     return view(app()->getRootPath() . 'public' . DS . 'home' . DS . 'index.html');
                 } else {
                     if (request()->get('type')) {