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

This commit is contained in:
xurongyao 2018-09-15 20:17:51 +08:00
parent 522f613be1
commit 6679b4ac54

View File

@ -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');