diff --git a/pkg/service/bundle/bundleOrder.go b/pkg/service/bundle/bundleOrder.go index 24bb361..6a2499d 100644 --- a/pkg/service/bundle/bundleOrder.go +++ b/pkg/service/bundle/bundleOrder.go @@ -263,8 +263,6 @@ func OrderRecordsList(c *gin.Context) { Domain: "app", ID: userID, }) - fmt.Println("============================== 打印 用户信息 ==============================") - fmt.Printf("userInfo %+v\n",userInfo) if userInfo != nil { orderRecord.Sex = userInfo.Sex orderRecord.Nationality = userInfo.Nationality diff --git a/pkg/service/bundle/logic/export.go b/pkg/service/bundle/logic/export.go index 7f5d0e1..f033b82 100644 --- a/pkg/service/bundle/logic/export.go +++ b/pkg/service/bundle/logic/export.go @@ -25,6 +25,8 @@ func WriteToExcel(dirPath string, orderInfos [][]interface{}) (string, error) { rowIndex := 2 for i := 0; i < len(orderInfos); i++ { + fmt.Println("===================================== rowIndex =========================") + fmt.Printf("rowIndex %+v\n", rowIndex) xlsx.SetCellStyle(index, fmt.Sprintf("A%v", rowIndex), fmt.Sprintf("O%v", rowIndex), style) xlsx.SetSheetRow(index, fmt.Sprintf("A%v", rowIndex), &orderInfos[i]) rowIndex = rowIndex + 1