From d514a8241843ecb43e015fe3991b066145e2f8e0 Mon Sep 17 00:00:00 2001 From: zouap Date: Wed, 11 Jan 2023 11:25:21 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81=EF=BC=8C?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=95=B0=E6=8D=AE=E6=89=93=E5=8D=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zouap --- models/user_business_analysis.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/models/user_business_analysis.go b/models/user_business_analysis.go index b462d7458..8e5e15dbd 100644 --- a/models/user_business_analysis.go +++ b/models/user_business_analysis.go @@ -897,10 +897,13 @@ func getBonusWeekDataMap() map[int64][]int { if len(aLine) < 4 { continue } + log.Info("aLine=" + lines[j]) + userId := getInt64Value(aLine[0]) order := getIntValue(aLine[2]) money := getIntValue(aLine[3]) week, num := getWeekAndNum(filenames[i]) + log.Info("userId=" + fmt.Sprint(userId) + " order=" + fmt.Sprint(order) + " money=" + fmt.Sprint(money) + " week=" + fmt.Sprint(week) + " num=" + fmt.Sprint(num)) //email := lines[2] record, ok := bonusMap[userId] if !ok {