正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -45,7 +45,7 @@ func NextTime(now0 time.Time, start time.Time, kpiCycle int) time.Time { | @@ -45,7 +45,7 @@ func NextTime(now0 time.Time, start time.Time, kpiCycle int) time.Time { | ||
45 | var nextTime time.Time | 45 | var nextTime time.Time |
46 | switch kpiCycle { | 46 | switch kpiCycle { |
47 | case domain.KpiCycleDay: | 47 | case domain.KpiCycleDay: |
48 | - nextTime = timeconv.AddDate(now0, 0, 0, 1) // 当前时间的下一天0点开始发送 | 48 | + nextTime = timeconv.AddDate(now0, 0, 0, 0) // 当前时间的0点开始发送 |
49 | break | 49 | break |
50 | case domain.KpiCycleWeek: | 50 | case domain.KpiCycleWeek: |
51 | offsetSeconds := int64(now0.Sub(start0).Seconds()) | 51 | offsetSeconds := int64(now0.Sub(start0).Seconds()) |
-
请 注册 或 登录 后发表评论