diff --git a/business/jxcallback/orderman/order.go b/business/jxcallback/orderman/order.go index 938703910..a268d5a6b 100644 --- a/business/jxcallback/orderman/order.go +++ b/business/jxcallback/orderman/order.go @@ -2702,12 +2702,11 @@ func UpdateTiktokShopTotalMoney() { func UpdateTaoSettleInfo() { db := dao.GetDB() var count = 0 - globals.SugarLogger.Debugf("======================UpdateTaoSettleInfo") - timeStart := time.Now().Add(-24 * 20 * time.Hour) + timeStart := time.Now().Add(-24 * 26 * time.Hour) startTime := time.Date(timeStart.Year(), timeStart.Month(), timeStart.Day(), 0, 0, 0, 0, timeStart.Location()) - timeEnd := time.Now() + timeEnd := time.Now().Add(-24 * 14 * time.Hour) endTime := time.Date(timeEnd.Year(), timeEnd.Month(), timeEnd.Day()-1, 23, 59, 59, 0, timeStart.Location()) storeMaps, err := dao.GetTaoOrderVendor(db, startTime, endTime) @@ -2717,7 +2716,6 @@ func UpdateTaoSettleInfo() { for k, v := range storeMaps { count++ - globals.SugarLogger.Debugf("========storeID := %s", k) settleInfo, err := tao.GetOrderTotalShopMoney(v, k, startTime, endTime) if err != nil { globals.SugarLogger.Errorf("获取淘鲜达结算信息异常 := %v", err) diff --git a/business/jxstore/misc/misc.go b/business/jxstore/misc/misc.go index 1ed6a5bb3..889b70fc2 100644 --- a/business/jxstore/misc/misc.go +++ b/business/jxstore/misc/misc.go @@ -201,7 +201,7 @@ func Init() { orderman.UpdateTaoSettleInfo() }, []string{ "06:30:00", - "18:07:00", + "15:07:00", }) // 每分钟轮询一次,推送骑手信息(假的订单)