...
|
...
|
@@ -417,32 +417,32 @@ func init() { |
|
|
|
|
|
beego.GlobalControllerRouter["opp/controllers/v1:UserController"] = append(beego.GlobalControllerRouter["opp/controllers/v1:UserController"],
|
|
|
beego.ControllerComments{
|
|
|
Method: "ChangePassword",
|
|
|
Router: `/changePassword`,
|
|
|
Method: "Permission",
|
|
|
Router: `/chancePermission`,
|
|
|
AllowHTTPMethods: []string{"post"},
|
|
|
MethodParams: param.Make(),
|
|
|
Params: nil})
|
|
|
|
|
|
beego.GlobalControllerRouter["opp/controllers/v1:UserController"] = append(beego.GlobalControllerRouter["opp/controllers/v1:UserController"],
|
|
|
beego.ControllerComments{
|
|
|
Method: "ChangePhone",
|
|
|
Router: `/changePhone`,
|
|
|
Method: "ChangePassword",
|
|
|
Router: `/changePassword`,
|
|
|
AllowHTTPMethods: []string{"post"},
|
|
|
MethodParams: param.Make(),
|
|
|
Params: nil})
|
|
|
|
|
|
beego.GlobalControllerRouter["opp/controllers/v1:UserController"] = append(beego.GlobalControllerRouter["opp/controllers/v1:UserController"],
|
|
|
beego.ControllerComments{
|
|
|
Method: "CheckSmsCode",
|
|
|
Router: `/checkSmsCode`,
|
|
|
Method: "ChangePhone",
|
|
|
Router: `/changePhone`,
|
|
|
AllowHTTPMethods: []string{"post"},
|
|
|
MethodParams: param.Make(),
|
|
|
Params: nil})
|
|
|
|
|
|
beego.GlobalControllerRouter["opp/controllers/v1:UserController"] = append(beego.GlobalControllerRouter["opp/controllers/v1:UserController"],
|
|
|
beego.ControllerComments{
|
|
|
Method: "Permission",
|
|
|
Router: `/permission`,
|
|
|
Method: "CheckSmsCode",
|
|
|
Router: `/checkSmsCode`,
|
|
|
AllowHTTPMethods: []string{"post"},
|
|
|
MethodParams: param.Make(),
|
|
|
Params: nil})
|
...
|
...
|
|