修正和重构代码

This commit is contained in:
Rosy-zhudan
2019-08-29 16:05:29 +08:00
parent 21c1c3c514
commit 1ea9c5aca2
5 changed files with 24 additions and 39 deletions

View File

@@ -279,8 +279,8 @@ func init() {
beego.GlobalControllerRouter["git.rosy.net.cn/jx-callback/controllers:CmsController"] = append(beego.GlobalControllerRouter["git.rosy.net.cn/jx-callback/controllers:CmsController"],
beego.ControllerComments{
Method: "CreateQrAndBarCode",
Router: `/CreateQrAndBarCode`,
Method: "CreateQrOrBarCode",
Router: `/CreateQrOrBarCode`,
AllowHTTPMethods: []string{"post"},
MethodParams: param.Make(),
Filters: nil,