...
|
...
|
@@ -153,6 +153,14 @@ func init() { |
|
|
|
|
|
beego.GlobalControllerRouter["opp/controllers/v1:ChanceController"] = append(beego.GlobalControllerRouter["opp/controllers/v1:ChanceController"],
|
|
|
beego.ControllerComments{
|
|
|
Method: "CheckQuestions",
|
|
|
Router: `/checkQuestions`,
|
|
|
AllowHTTPMethods: []string{"post"},
|
|
|
MethodParams: param.Make(),
|
|
|
Params: nil})
|
|
|
|
|
|
beego.GlobalControllerRouter["opp/controllers/v1:ChanceController"] = append(beego.GlobalControllerRouter["opp/controllers/v1:ChanceController"],
|
|
|
beego.ControllerComments{
|
|
|
Method: "CommentDetailsMulti",
|
|
|
Router: `/commentDetailsMulti`,
|
|
|
AllowHTTPMethods: []string{"post"},
|
...
|
...
|
@@ -513,14 +521,6 @@ func init() { |
|
|
|
|
|
beego.GlobalControllerRouter["opp/controllers/v1:UploadController"] = append(beego.GlobalControllerRouter["opp/controllers/v1:UploadController"],
|
|
|
beego.ControllerComments{
|
|
|
Method: "CreateUploadVideo",
|
|
|
Router: `/createUploadVideo`,
|
|
|
AllowHTTPMethods: []string{"post"},
|
|
|
MethodParams: param.Make(),
|
|
|
Params: nil})
|
|
|
|
|
|
beego.GlobalControllerRouter["opp/controllers/v1:UploadController"] = append(beego.GlobalControllerRouter["opp/controllers/v1:UploadController"],
|
|
|
beego.ControllerComments{
|
|
|
Method: "Image",
|
|
|
Router: `/image`,
|
|
|
AllowHTTPMethods: []string{"post"},
|
...
|
...
|
@@ -615,4 +615,20 @@ func init() { |
|
|
MethodParams: param.Make(),
|
|
|
Params: nil})
|
|
|
|
|
|
beego.GlobalControllerRouter["opp/controllers/v1:VodController"] = append(beego.GlobalControllerRouter["opp/controllers/v1:VodController"],
|
|
|
beego.ControllerComments{
|
|
|
Method: "CreateUploadImage",
|
|
|
Router: `/createUploadImage`,
|
|
|
AllowHTTPMethods: []string{"post"},
|
|
|
MethodParams: param.Make(),
|
|
|
Params: nil})
|
|
|
|
|
|
beego.GlobalControllerRouter["opp/controllers/v1:VodController"] = append(beego.GlobalControllerRouter["opp/controllers/v1:VodController"],
|
|
|
beego.ControllerComments{
|
|
|
Method: "CreateUploadVideo",
|
|
|
Router: `/createUploadVideo`,
|
|
|
AllowHTTPMethods: []string{"post"},
|
|
|
MethodParams: param.Make(),
|
|
|
Params: nil})
|
|
|
|
|
|
} |
...
|
...
|
|