修改导出文件
This commit is contained in:
parent
99be4c6a15
commit
ad85f08e41
@ -183,10 +183,10 @@ func ExportRegister(c *gin.Context) {
|
|||||||
temp = append(temp, v.UpdatedAt)
|
temp = append(temp, v.UpdatedAt)
|
||||||
data = append(data, &temp)
|
data = append(data, &temp)
|
||||||
}
|
}
|
||||||
_, err = utils.ToExcelByType(columns, data, "slice", filePath)
|
_, _ = utils.ToExcelByType(columns, data, "slice", filePath)
|
||||||
if err != nil {
|
// if err != nil {
|
||||||
response.ResponseQuickMsg(c, msg.Fail, err.Error(), nil)
|
// response.ResponseQuickMsg(c, msg.Fail, err.Error(), nil)
|
||||||
}
|
// }
|
||||||
//处理图片
|
//处理图片
|
||||||
// err = logic.DealExcelImg(filePath)
|
// err = logic.DealExcelImg(filePath)
|
||||||
// if err != nil {
|
// if err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user