Update demo.php

This commit is contained in:
Anyon 2019-07-09 11:17:52 +08:00
parent 60c2df79cc
commit 7beaab398a

View File

@ -40,7 +40,7 @@ if (in_array(request()->rootDomain(), ['ctolog.com', 'thinkadmin.top'])) {
Route::post('admin/menu/forbid', function () { Route::post('admin/menu/forbid', function () {
return json(['code' => 0, 'info' => '测试环境禁止禁用菜单操作!']); return json(['code' => 0, 'info' => '测试环境禁止禁用菜单操作!']);
}); });
Route::post('admin/menu/del', function () { Route::post('admin/menu/remove', function () {
return json(['code' => 0, 'info' => '测试环境禁止删除菜单操作!']); return json(['code' => 0, 'info' => '测试环境禁止删除菜单操作!']);
}); });
Route::post('admin/node/save', function () { Route::post('admin/node/save', function () {
@ -55,4 +55,4 @@ if (in_array(request()->rootDomain(), ['ctolog.com', 'thinkadmin.top'])) {
Route::post('service/config/index', function () { Route::post('service/config/index', function () {
return json(['code' => 0, 'info' => '测试环境禁止修改微信配置操作!']); return json(['code' => 0, 'info' => '测试环境禁止修改微信配置操作!']);
}); });
} }