Browse Source

更新

one_orenge
huangjiajun 8 months ago
parent
commit
96a28e6fdc
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      consume/zhios_order_total_second.go

+ 1
- 1
consume/zhios_order_total_second.go View File

@@ -154,7 +154,7 @@ func handleZhiosOrderTotalSecond(msg []byte) error {
sess.Where("uid=? and date=?", v.Uid, nowDay).Get(&userStatistics1)
if userStatistics1.Id == 0 {
userStatistics1 = model.UserDayAmount{
Date: utils.StrToInt(now),
Date: utils.StrToInt(nowDay),
Uid: v.Uid,
}
has, err := sess.Insert(&userStatistics1)


Loading…
Cancel
Save