From 96a28e6fdc59fb4b078341b1fae47674c1ca87bc Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Fri, 22 Mar 2024 13:01:49 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- consume/zhios_order_total_second.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/consume/zhios_order_total_second.go b/consume/zhios_order_total_second.go index 03a0fcc..32db18d 100644 --- a/consume/zhios_order_total_second.go +++ b/consume/zhios_order_total_second.go @@ -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)