diff --git a/route/demo.php b/route/demo.php index 25a3468a6..3c7c547d9 100644 --- a/route/demo.php +++ b/route/demo.php @@ -40,7 +40,7 @@ if (in_array(request()->rootDomain(), ['ctolog.com', 'thinkadmin.top'])) { Route::post('admin/menu/forbid', function () { return json(['code' => 0, 'info' => '测试环境禁止禁用菜单操作!']); }); - Route::post('admin/menu/del', function () { + Route::post('admin/menu/remove', function () { return json(['code' => 0, 'info' => '测试环境禁止删除菜单操作!']); }); 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 () { return json(['code' => 0, 'info' => '测试环境禁止修改微信配置操作!']); }); -} \ No newline at end of file +}