This commit is contained in:
2025-05-09 23:17:15 +08:00
parent 830d9ae9d9
commit ca66cc91d4
2 changed files with 10 additions and 6 deletions

View File

@@ -100,7 +100,8 @@ func (l *GetPromotionStatsTotalLogic) GetPromotionStatsTotal(req *types.GetPromo
}
// 获取今日统计数据
today := time.Now().Truncate(24 * time.Hour)
now := time.Now()
today := time.Date(now.Year(), now.Month(), now.Day(), 0, 0, 0, 0, time.Local)
var todayClickCount, todayPayCount int64
var todayPayAmount float64