mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
[更新]禁止修改用户密码
This commit is contained in:
parent
70d7ac0aaa
commit
4e1aa1ec50
@ -15,12 +15,15 @@
|
||||
use think\facade\Route;
|
||||
|
||||
/* 去除下面注释可启用禁用功能 */
|
||||
return [];
|
||||
//return [];
|
||||
|
||||
/* 测试环境禁止操作路由绑定 */
|
||||
Route::post('admin/user/pass', function () {
|
||||
return json(['code' => 0, 'msg' => '测试环境禁修改用户密码!']);
|
||||
});
|
||||
Route::post('admin/index/pass', function () {
|
||||
return json(['code' => 0, 'msg' => '测试环境禁修改用户密码!']);
|
||||
});
|
||||
Route::post('admin/config/index', function () {
|
||||
return json(['code' => 0, 'msg' => '测试环境禁修改系统配置操作!']);
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user