Просмотр исходного кода

兼容模式 不支持伪静态可开启

xurongyao 7 лет назад
Родитель
Сommit
6679b4ac54
1 измененных файлов с 3 добавлено и 2 удалено
  1. 3 2
      application/route.php

+ 3 - 2
application/route.php

@@ -9,9 +9,10 @@
 // | Author: liu21st <liu21st@gmail.com>
 // +----------------------------------------------------------------------
 use \think\Route;
-
+//兼容模式 不支持伪静态可开启
+//\think\Url::root('index.php?s=');
 Route::group('admin',function(){
-    Route::rule('/index2','admin/Index/index2','get');
+//    Route::rule('/index2','admin/Index/index2','get');
 //    Route::controller('index','admin/Index');
 //    resource('system_menus','SystemMenus');
 //    Route::rule('/menus','SystemMenus','get');