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