禁用用户测试

This commit is contained in:
苏尹岚
2020-02-21 16:44:14 +08:00
parent f054243c77
commit ddc0994456
3 changed files with 60 additions and 59 deletions

View File

@@ -2315,8 +2315,8 @@ func init() {
beego.GlobalControllerRouter["git.rosy.net.cn/jx-callback/controllers:User2Controller"] = append(beego.GlobalControllerRouter["git.rosy.net.cn/jx-callback/controllers:User2Controller"],
beego.ControllerComments{
Method: "DeleteProfitSharingReceiver",
Router: `/DeleteProfitSharingReceiver`,
Method: "DeleteRoles4User",
Router: `/DeleteRoles4User`,
AllowHTTPMethods: []string{"delete"},
MethodParams: param.Make(),
Filters: nil,
@@ -2324,8 +2324,8 @@ func init() {
beego.GlobalControllerRouter["git.rosy.net.cn/jx-callback/controllers:User2Controller"] = append(beego.GlobalControllerRouter["git.rosy.net.cn/jx-callback/controllers:User2Controller"],
beego.ControllerComments{
Method: "DeleteRoles4User",
Router: `/DeleteRoles4User`,
Method: "DeleteUserInfo",
Router: `/DeleteUserInfo`,
AllowHTTPMethods: []string{"delete"},
MethodParams: param.Make(),
Filters: nil,