新增三个同步时间字段
This commit is contained in:
@@ -90,6 +90,9 @@ func (h *PollingCarddataHandler) Handle(ctx context.Context, t *asynq.Task) erro
|
||||
resetDay := h.carrierStore.GetDataResetDay(ctx, card.CarrierID)
|
||||
updates, flowIncrementMB, isCrossMonth := h.calculateFlowUpdates(card, gatewayFlowMB, now, resetDay)
|
||||
updates["last_data_check_at"] = now
|
||||
if h.gateway != nil {
|
||||
updates["last_sync_time"] = now
|
||||
}
|
||||
|
||||
if h.base.verboseLog && h.gateway != nil {
|
||||
h.base.logger.Info("流量轮询详情",
|
||||
|
||||
Reference in New Issue
Block a user