This commit is contained in:
邹宗楠
2023-07-21 11:55:45 +08:00
parent bf0cea40fd
commit 874ffbc80d
2 changed files with 113 additions and 89 deletions

View File

@@ -285,98 +285,122 @@ func Init() {
669158, 669158,
668691, 668691,
668673, 668673,
//668282, 668282,
//667447, 667447,
//667354, 667354,
//667321, 667321,
//667319, 667319,
//667316, 667316,
//667269, 667269,
//667268, 667268,
//667267, 667267,
//667260, 667260,
//667132, 667132,
//667094, 667094,
//667030, 667030,
//666965, 666965,
//666714, 666714,
//666708, 666708,
//666705, 666705,
//103437, 103437,
//103349, 103349,
//103123, 103123,
//103121, 103121,
//103106, 103106,
//103038,
//103028,
//103019,
//102831,
//102751,
//102683,
//102542,
//102514,
//102382,
//102182,
//102178,
//102173,
//102098,
//102094,
//102080,
//102072,
//102069,
//101870,
//101869,
//101868,
//101867,
//101866,
//101865,
//100956,
//100930,
//100871,
//100786,
//100746,
//100744,
//100726,
//100705,
//100400,
//100111,
//100108,
//100106,
//100104,
//100103,
//100102,
//100100,
//100097,
//100096,
//100095,
//100093,
//100092,
//100089,
//100087,
//100086,
//100085,
//100082,
//100079,
//100078,
} }
syncStoreSkuTao(beijin) syncStoreSkuTao(beijin)
}, []string{ }, []string{
"01:40:00", "00:30:00",
"03:40:00", "01:30:00",
"05:20:00", "02:30:00",
"07:40:00", "03:30:00",
"08:40:00", "04:30:00",
"05:30:00",
"07:30:00",
"09:30:00", "09:30:00",
"11:05:00", "12:30:00",
"12:40:00", "13:30:00",
"15:30:00",
"17:30:00",
"18:30:00",
"20:30:00",
"21:30:00",
"22:30:00",
"23:30:00",
})
ScheduleTimerFunc("RefreshSyncSkuList_tao2", func() {
var beijin = []int{
103038,
103028,
103019,
102831,
102751,
102683,
102542,
102514,
102382,
102182,
102178,
102173,
102098,
102094,
102080,
102072,
102069,
101870,
101869,
101868,
101867,
101866,
101865,
100956,
100930,
100871,
100786,
100746,
100744,
100726,
100705,
100400,
100111,
100108,
100106,
100104,
100103,
100102,
100100,
100097,
100096,
100095,
100093,
100092,
100089,
100087,
100086,
100085,
100082,
100079,
100078,
}
syncStoreSkuTao(beijin)
}, []string{
"01:00:00",
"02:00:00",
"03:00:00",
"04:00:00",
"05:00:00",
"06:00:00",
"08:00:00",
"09:00:00",
"12:00:00",
"13:00:00", "13:00:00",
"15:00:00", "15:00:00",
"17:20:00", "17:00:00",
"18:40:00", "18:00:00",
"20:40:00", "20:00:00",
"22:40:00", "21:00:00",
"23:40:00", "22:00:00",
"23:00:00",
}) })
// 刷新抖音门店token // 刷新抖音门店token

View File

@@ -96,9 +96,9 @@ func GetOrderRiderInfoToPlatform(orderId string, wayBillStatus int) {
continue continue
} }
if (v.WaybillVendorID == model.YES || v.WaybillVendorID == -1) && v.VendorID == model.VendorIDMTWM { //if (v.WaybillVendorID == model.YES || v.WaybillVendorID == -1) && v.VendorID == model.VendorIDMTWM {
continue // continue
} //}
if orderId == "" { // 订单id为空是,是定时轮询操作,不做此状态 if orderId == "" { // 订单id为空是,是定时轮询操作,不做此状态
waybillList, _ := dao.GetWaybills(dao.GetDB(), v.VendorOrderID, nil) waybillList, _ := dao.GetWaybills(dao.GetDB(), v.VendorOrderID, nil)