去掉列表输出tojson方法
加入json中文不转换中间件 修改菜单关闭按钮样式
This commit is contained in:
+3
-3
@@ -35,15 +35,15 @@ $action = 'Gdoo\\'.ucfirst($uris['module']).'\\Controllers\\'.$controller.'Contr
|
||||
$method = Request::method();
|
||||
|
||||
if ($method == 'GET') {
|
||||
Route::get($path, $action);
|
||||
Route::get($path, $action)->middleware('json');
|
||||
}
|
||||
|
||||
if ($method == 'POST') {
|
||||
Route::post($path, $action);
|
||||
Route::post($path, $action)->middleware('json');
|
||||
}
|
||||
|
||||
if ($method == 'OPTIONS') {
|
||||
Route::options($path, $action);
|
||||
Route::options($path, $action)->middleware('json');
|
||||
}
|
||||
|
||||
View::addLocation(base_path('app/Gdoo/'.ucfirst(Request::module()).'/views'));
|
||||
|
||||
Reference in New Issue
Block a user