读取永辉excel

This commit is contained in:
苏尹岚
2019-11-12 18:06:35 +08:00
parent 73a16aac04
commit a1efff61a4
2 changed files with 392 additions and 88 deletions

View File

@@ -21,7 +21,7 @@ func (c *YongHuiController) LoadExcelByYongHui() {
c.callLoadExcelByYongHui(func(params *tYonghuiLoadExcelByYongHuiParams) (retVal interface{}, errCode string, err error) {
r := c.Ctx.Request
files := r.MultipartForm.File["userfiles"]
retVal, err = yonghui.SendFilesToStores(params.Ctx, files)
retVal, err = yonghui.LoadExcelByYongHui(params.Ctx, files, params.IsAsync)
return retVal, "", err
})
}