This commit is contained in:
邹宗楠
2023-08-03 17:35:12 +08:00
parent acbf6fafb2
commit 7bfbc34d8d

View File

@@ -274,88 +274,15 @@ func Init() {
}, 5*time.Second, 10*time.Minute)
// 抖音更新门店商品 ,接口收费暂不使用
//if beego.BConfig.RunMode != "jxgy" {
// ScheduleTimerFunc("RefreshSyncSkuList", func() {
// syncStoreSkuTiktok()
// }, []string{"13:00:00"})
//}
if beego.BConfig.RunMode != "jxgy" {
ScheduleTimerFunc("RefreshSyncSkuList", func() {
syncStoreSkuTiktok()
}, []string{"13:00:00"})
}
// 淘鲜达更新门店商品 ,接口收费暂不使用
if beego.BConfig.RunMode != "jxgy" {
ScheduleTimerFunc("RefreshSyncSkuList_tao", func() {
ScheduleTimerFunc("RefreshSyncSkuListTao", func() {
var hangzhou = []int{
// 杭州
//669073,
//668930,
//668922,
//668916,
//668915,
//668756,
//668705,
//668702,
//668681,
//668422,
//668417,
//668191,
//667996,
//667991,
//667985,
//667553,
//667044,
//103083,
//103073,
//103033,
//103032,
//102963,
//102923,
//102785,
//102594,
//102578,
//102329,
//101734,
//100229,
//100224,
//100217,
//100215,
//100210,
//100206,
//// 武汉
//668352, 103200, 102958, 100887, 100236,
//// 广州
// 668871, 668602, 668575, 668262, 103425, 101755, 101176, 100557, 100369, 100361, 100351, 100350,
//成都
//669172,
//669171,
//669170,
//669169,
//669168,
//669165,
//669164,
//669163,
//669162,
//669157,
//669156,
//669155,
//669154,
//669153,
//669150,
//669149,
//669148,
//669147,
//669146,
//669144,
//669141,
//669139,
//669138,
//669137,
//669134,
//669132,
//669127,
//669124,
//669122,
//669121,
//669120,
//669119,
//669114,
669113,
669111,
669110,
@@ -592,7 +519,7 @@ func Init() {
}, []string{
"11:30:00",
"13:30:00",
"16:45:00",
"17:38:00",
"17:30:00",
"19:30:00",
"21:30:00",