1.补充excel列表名称;

This commit is contained in:
chenlin 2023-12-28 11:27:03 +08:00
parent 5e37171e67
commit 9c527664c7

View File

@ -619,7 +619,7 @@ func OrderListExport(list []Order) (string, error) {
fmt.Println("url fileName:", url+fileName) fmt.Println("url fileName:", url+fileName)
title := []interface{}{"租赁ID", "用户ID", "会员剩余时长", "取货方式", "状态", "取货码", "实付款", "下单时间", "游戏卡ID", title := []interface{}{"租赁ID", "用户ID", "会员剩余时长", "取货方式", "状态", "取货码", "实付款", "下单时间", "游戏卡ID",
"游戏名称", "游戏卡状态"} "游戏名称", "游戏卡状态", "商品串码"}
cell, _ := excelize.CoordinatesToCellName(1, 1) cell, _ := excelize.CoordinatesToCellName(1, 1)
if err = streamWriter.SetRow(cell, title); err != nil { if err = streamWriter.SetRow(cell, title); err != nil {
fmt.Println(err) fmt.Println(err)