修改导出文件

This commit is contained in:
孙肖扬 2025-03-05 16:57:20 +08:00
parent ad85f08e41
commit 109ee43276

View File

@ -184,9 +184,9 @@ func ExportRegister(c *gin.Context) {
data = append(data, &temp)
}
_, _ = utils.ToExcelByType(columns, data, "slice", filePath)
// if err != nil {
// response.ResponseQuickMsg(c, msg.Fail, err.Error(), nil)
// }
if err != nil {
response.ResponseQuickMsg(c, msg.Fail, err.Error(), nil)
}
//处理图片
// err = logic.DealExcelImg(filePath)
// if err != nil {