去掉列表输出tojson方法

加入json中文不转换中间件
修改菜单关闭按钮样式
This commit is contained in:
2021-03-09 06:28:33 +08:00
parent 89bab045dd
commit b3ee45674f
62 changed files with 107 additions and 151 deletions
+3 -3
View File
@@ -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'));