[更新]测试系统禁止修改密码

This commit is contained in:
Anyon 2017-09-06 16:14:01 +08:00
parent ca2ca51021
commit 57f9f14c83

View File

@ -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 [];