...
|
...
|
@@ -23,4 +23,20 @@ func init() { |
|
|
MethodParams: param.Make(),
|
|
|
Params: nil})
|
|
|
|
|
|
beego.GlobalControllerRouter["opp/controllers:H5Controller"] = append(beego.GlobalControllerRouter["opp/controllers:H5Controller"],
|
|
|
beego.ControllerComments{
|
|
|
Method: "ChanceExample",
|
|
|
Router: `/chanceExample`,
|
|
|
AllowHTTPMethods: []string{"post"},
|
|
|
MethodParams: param.Make(),
|
|
|
Params: nil})
|
|
|
|
|
|
beego.GlobalControllerRouter["opp/controllers:H5Controller"] = append(beego.GlobalControllerRouter["opp/controllers:H5Controller"],
|
|
|
beego.ControllerComments{
|
|
|
Method: "SysCommand",
|
|
|
Router: `/sysCommand`,
|
|
|
AllowHTTPMethods: []string{"post"},
|
|
|
MethodParams: param.Make(),
|
|
|
Params: nil})
|
|
|
|
|
|
} |
...
|
...
|
|