|
@@ -417,32 +417,32 @@ func init() { |
|
@@ -417,32 +417,32 @@ func init() { |
417
|
|
417
|
|
418
|
beego.GlobalControllerRouter["opp/controllers/v1:UserController"] = append(beego.GlobalControllerRouter["opp/controllers/v1:UserController"],
|
418
|
beego.GlobalControllerRouter["opp/controllers/v1:UserController"] = append(beego.GlobalControllerRouter["opp/controllers/v1:UserController"],
|
419
|
beego.ControllerComments{
|
419
|
beego.ControllerComments{
|
420
|
- Method: "ChangePassword",
|
|
|
421
|
- Router: `/changePassword`,
|
420
|
+ Method: "Permission",
|
|
|
421
|
+ Router: `/chancePermission`,
|
422
|
AllowHTTPMethods: []string{"post"},
|
422
|
AllowHTTPMethods: []string{"post"},
|
423
|
MethodParams: param.Make(),
|
423
|
MethodParams: param.Make(),
|
424
|
Params: nil})
|
424
|
Params: nil})
|
425
|
|
425
|
|
426
|
beego.GlobalControllerRouter["opp/controllers/v1:UserController"] = append(beego.GlobalControllerRouter["opp/controllers/v1:UserController"],
|
426
|
beego.GlobalControllerRouter["opp/controllers/v1:UserController"] = append(beego.GlobalControllerRouter["opp/controllers/v1:UserController"],
|
427
|
beego.ControllerComments{
|
427
|
beego.ControllerComments{
|
428
|
- Method: "ChangePhone",
|
|
|
429
|
- Router: `/changePhone`,
|
428
|
+ Method: "ChangePassword",
|
|
|
429
|
+ Router: `/changePassword`,
|
430
|
AllowHTTPMethods: []string{"post"},
|
430
|
AllowHTTPMethods: []string{"post"},
|
431
|
MethodParams: param.Make(),
|
431
|
MethodParams: param.Make(),
|
432
|
Params: nil})
|
432
|
Params: nil})
|
433
|
|
433
|
|
434
|
beego.GlobalControllerRouter["opp/controllers/v1:UserController"] = append(beego.GlobalControllerRouter["opp/controllers/v1:UserController"],
|
434
|
beego.GlobalControllerRouter["opp/controllers/v1:UserController"] = append(beego.GlobalControllerRouter["opp/controllers/v1:UserController"],
|
435
|
beego.ControllerComments{
|
435
|
beego.ControllerComments{
|
436
|
- Method: "CheckSmsCode",
|
|
|
437
|
- Router: `/checkSmsCode`,
|
436
|
+ Method: "ChangePhone",
|
|
|
437
|
+ Router: `/changePhone`,
|
438
|
AllowHTTPMethods: []string{"post"},
|
438
|
AllowHTTPMethods: []string{"post"},
|
439
|
MethodParams: param.Make(),
|
439
|
MethodParams: param.Make(),
|
440
|
Params: nil})
|
440
|
Params: nil})
|
441
|
|
441
|
|
442
|
beego.GlobalControllerRouter["opp/controllers/v1:UserController"] = append(beego.GlobalControllerRouter["opp/controllers/v1:UserController"],
|
442
|
beego.GlobalControllerRouter["opp/controllers/v1:UserController"] = append(beego.GlobalControllerRouter["opp/controllers/v1:UserController"],
|
443
|
beego.ControllerComments{
|
443
|
beego.ControllerComments{
|
444
|
- Method: "Permission",
|
|
|
445
|
- Router: `/permission`,
|
444
|
+ Method: "CheckSmsCode",
|
|
|
445
|
+ Router: `/checkSmsCode`,
|
446
|
AllowHTTPMethods: []string{"post"},
|
446
|
AllowHTTPMethods: []string{"post"},
|
447
|
MethodParams: param.Make(),
|
447
|
MethodParams: param.Make(),
|
448
|
Params: nil})
|
448
|
Params: nil})
|