...
|
...
|
@@ -113,6 +113,14 @@ func init() { |
|
|
|
|
|
beego.GlobalControllerRouter["opp/controllers/v1:ChanceController"] = append(beego.GlobalControllerRouter["opp/controllers/v1:ChanceController"],
|
|
|
beego.ControllerComments{
|
|
|
Method: "ChanceStatistics",
|
|
|
Router: `/statistics`,
|
|
|
AllowHTTPMethods: []string{"post"},
|
|
|
MethodParams: param.Make(),
|
|
|
Params: nil})
|
|
|
|
|
|
beego.GlobalControllerRouter["opp/controllers/v1:ChanceController"] = append(beego.GlobalControllerRouter["opp/controllers/v1:ChanceController"],
|
|
|
beego.ControllerComments{
|
|
|
Method: "ChanceSubmit",
|
|
|
Router: `/submit`,
|
|
|
AllowHTTPMethods: []string{"post"},
|
...
|
...
|
@@ -273,6 +281,14 @@ func init() { |
|
|
|
|
|
beego.GlobalControllerRouter["opp/controllers/v1:UserController"] = append(beego.GlobalControllerRouter["opp/controllers/v1:UserController"],
|
|
|
beego.ControllerComments{
|
|
|
Method: "UserStatistics",
|
|
|
Router: `/statistics`,
|
|
|
AllowHTTPMethods: []string{"post"},
|
|
|
MethodParams: param.Make(),
|
|
|
Params: nil})
|
|
|
|
|
|
beego.GlobalControllerRouter["opp/controllers/v1:UserController"] = append(beego.GlobalControllerRouter["opp/controllers/v1:UserController"],
|
|
|
beego.ControllerComments{
|
|
|
Method: "SwitchCompany",
|
|
|
Router: `/switchCompany`,
|
|
|
AllowHTTPMethods: []string{"post"},
|
...
|
...
|
|