读取永辉excel文件

This commit is contained in:
苏尹岚
2019-11-11 09:51:10 +08:00
parent 6a37def14f
commit 9de07d2ea1
4 changed files with 166 additions and 0 deletions

View File

@@ -1998,4 +1998,13 @@ func init() {
Filters: nil,
Params: nil})
beego.GlobalControllerRouter["git.rosy.net.cn/jx-callback/controllers:YongHuiController"] = append(beego.GlobalControllerRouter["git.rosy.net.cn/jx-callback/controllers:YongHuiController"],
beego.ControllerComments{
Method: "LoadExcelByYongHui",
Router: `/LoadExcelByYongHui`,
AllowHTTPMethods: []string{"post"},
MethodParams: param.Make(),
Filters: nil,
Params: nil})
}

View File

@@ -126,6 +126,11 @@ func init() {
&controllers.ReportController{},
),
),
beego.NSNamespace("/yonghui",
beego.NSInclude(
&controllers.YongHuiController{},
),
),
)
beego.AddNamespace(ns)