修改导出文件
This commit is contained in:
parent
c092ced2c2
commit
99be4c6a15
@ -15,7 +15,6 @@ import (
|
||||
"github.com/exhibition-main/internal/model"
|
||||
"github.com/exhibition-main/internal/msg"
|
||||
"github.com/exhibition-main/internal/response"
|
||||
"github.com/exhibition-main/pkg/logic"
|
||||
"github.com/exhibition-main/pkg/utils"
|
||||
"github.com/gin-gonic/gin"
|
||||
"github.com/gin-gonic/gin/binding"
|
||||
@ -189,11 +188,11 @@ func ExportRegister(c *gin.Context) {
|
||||
response.ResponseQuickMsg(c, msg.Fail, err.Error(), nil)
|
||||
}
|
||||
//处理图片
|
||||
err = logic.DealExcelImg(filePath)
|
||||
if err != nil {
|
||||
response.ResponseQuickMsg(c, msg.Fail, err.Error(), nil)
|
||||
return
|
||||
}
|
||||
// err = logic.DealExcelImg(filePath)
|
||||
// if err != nil {
|
||||
// response.ResponseQuickMsg(c, msg.Fail, err.Error(), nil)
|
||||
// return
|
||||
// }
|
||||
var httpType string
|
||||
if config.Data.System.IsHttps {
|
||||
httpType = model.HttpsType
|
||||
|
Loading…
Reference in New Issue
Block a user