Compare commits
No commits in common. "583b2141804719a7857c86bd7f2d7dfd42c37588" and "4389ccc62245aa1c64bec36f7c58d698be1c3613" have entirely different histories.
583b214180
...
4389ccc622
@ -183,10 +183,10 @@ func ExportRegister(c *gin.Context) {
|
||||
temp = append(temp, v.UpdatedAt)
|
||||
data = append(data, &temp)
|
||||
}
|
||||
_, _ = utils.ToExcelByType(columns, data, "slice", filePath)
|
||||
// if err != nil {
|
||||
// response.ResponseQuickMsg(c, msg.Fail, err.Error(), nil)
|
||||
// }
|
||||
_, 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