...
|
...
|
@@ -751,7 +751,7 @@ func (c *OrderInfoController) DownloadTemplate() { |
|
|
}
|
|
|
|
|
|
// 获取导入模板
|
|
|
req := httplib.Get("http://suplus-file-dev.fjmaimaimai.com/upload/file/2021020111293523855.xlsx")
|
|
|
req := httplib.Get("https://suplus-file-dev.fjmaimaimai.com/upload/file/2021020111293523855.xlsx")
|
|
|
err = req.ToFile(constant.IMPORT_EXCEL)
|
|
|
if err != nil {
|
|
|
logs.Error("could not save to file: ", err)
|
...
|
...
|
|