mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
[更新]测试系统禁止修改密码
This commit is contained in:
parent
ca2ca51021
commit
57f9f14c83
@ -14,6 +14,9 @@
|
||||
|
||||
/* 测试环境禁止操作路由绑定 */
|
||||
think\Route::post([
|
||||
'admin/index/pass' => function () {
|
||||
return json(['code' => 0, 'msg' => '测试环境禁修改用户密码!']);
|
||||
},
|
||||
'admin/config/index' => function () {
|
||||
return json(['code' => 0, 'msg' => '测试环境禁修改系统配置操作!']);
|
||||
},
|
||||
@ -43,13 +46,13 @@ think\Route::post([
|
||||
},
|
||||
'wechat/menu/edit' => function () {
|
||||
return json(['code' => 0, 'msg' => '测试环境禁止修改微信菜单操作!']);
|
||||
}
|
||||
},
|
||||
]);
|
||||
|
||||
think\Route::get([
|
||||
'wechat/menu/cancel' => function () {
|
||||
return json(['code' => 0, 'msg' => '测试环境禁止删除微信菜单操作!']);
|
||||
}
|
||||
},
|
||||
]);
|
||||
|
||||
return [];
|
||||
|
Loading…
x
Reference in New Issue
Block a user