更新
This commit is contained in:
parent
904bee84bb
commit
584b4b558a
@ -147,7 +147,7 @@ func ExportRegister(c *gin.Context) {
|
|||||||
resp.Data = []*exhibition.ExportInfo{}
|
resp.Data = []*exhibition.ExportInfo{}
|
||||||
}
|
}
|
||||||
columns := []string{"画家姓名", "性别", "手机号", "身份证号", "通讯地址", "身份证照片", "本人近照", "报名时间", "更新时间"}
|
columns := []string{"画家姓名", "性别", "手机号", "身份证号", "通讯地址", "身份证照片", "本人近照", "报名时间", "更新时间"}
|
||||||
exportFileName := fmt.Sprintf("国展报名%v.xlsx", time.Now().Format("2006-01-01"))
|
exportFileName := fmt.Sprintf("国展报名%v.xlsx", time.Now().Format("20060101"))
|
||||||
filePath := fmt.Sprintf("./runtime/%s", exportFileName)
|
filePath := fmt.Sprintf("./runtime/%s", exportFileName)
|
||||||
data := make([]interface{}, 0)
|
data := make([]interface{}, 0)
|
||||||
for _, v := range resp.Data {
|
for _, v := range resp.Data {
|
||||||
|
Loading…
Reference in New Issue
Block a user