修改导出
This commit is contained in:
parent
b144903b63
commit
6f0187209a
@ -162,7 +162,7 @@ func ExportRegister(c *gin.Context) {
|
||||
}
|
||||
columns := []string{"画家姓名", "性别", "手机号", "身份证号", "通讯地址", "身份证照片", "本人近照", "作品名称", "报名时间", "更新时间"}
|
||||
exportFileName := fmt.Sprintf("%s迁想妙得.xlsx", time.Now().Format("20060102"))
|
||||
filePath := fmt.Sprintf("./runtime/%s", exportFileName)
|
||||
filePath := fmt.Sprintf("../runtime/%s", exportFileName)
|
||||
data := make([]interface{}, 0)
|
||||
for _, v := range resp.Data {
|
||||
var temp []string
|
||||
|
Loading…
Reference in New Issue
Block a user