Browse Source

提交代码,增加数据打印

Signed-off-by: zouap <zouap@pcl.ac.cn>
pull/3516/head
zouap 2 years ago
parent
commit
d514a82418
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      models/user_business_analysis.go

+ 3
- 0
models/user_business_analysis.go View File

@@ -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 {


Loading…
Cancel
Save