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