Explorar el Código

更新基础路由

evoxwht hace 2 años
padre
commit
cbdfcaea82
Se han modificado 1 ficheros con 1 adiciones y 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')) {