From 13b00b68bb4268eec3e4c0e06410f03c1f099cf1 Mon Sep 17 00:00:00 2001 From: shenjiachi Date: Mon, 6 Jan 2025 14:07:51 +0800 Subject: [PATCH] update --- .../egg_cannal_user_virtual_ coin_flow_aggregation_consume.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/consume/egg_cannal_user_virtual_ coin_flow_aggregation_consume.go b/consume/egg_cannal_user_virtual_ coin_flow_aggregation_consume.go index 12b225e..1f43c06 100644 --- a/consume/egg_cannal_user_virtual_ coin_flow_aggregation_consume.go +++ b/consume/egg_cannal_user_virtual_ coin_flow_aggregation_consume.go @@ -70,7 +70,7 @@ func handleEggCanalUserVirtualCoinFlowAggregationConsume(msg []byte) error { return err } aggregationDb := implement.NewUserVirtualCoinFlowAggregationDb(db.Db) - now := time.Now().AddDate(0, 0, 1) + now := time.Now() if canalMsg.Data[0].CoinId == utils2.IntToStr(basicSetting.PersonEggEnergyCoinId) { userVirtualCoinFlowAggregation, err1 := aggregationDb.UserVirtualCoinFlowAggregationGetOneByParams(map[string]interface{}{