From 50a53f7cfa0520b2d7dba8b66fbb404d33ccd1cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Fri, 21 Jul 2023 10:59:14 +0800 Subject: [PATCH] 1 --- business/jxstore/misc/misc.go | 6 +++--- .../partner/purchase/tao_vegetable/store_sku2.go | 14 +++++++------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/business/jxstore/misc/misc.go b/business/jxstore/misc/misc.go index 9b654151b..b81476e17 100644 --- a/business/jxstore/misc/misc.go +++ b/business/jxstore/misc/misc.go @@ -283,8 +283,8 @@ func Init() { ScheduleTimerFunc("RefreshSyncSkuList_tao", func() { var beijin = []int{ 669158, - //668691, - //668673, + 668691, + 668673, //668282, //667447, //667354, @@ -368,7 +368,7 @@ func Init() { "07:40:00", "08:40:00", "09:30:00", - "10:40:00", + "11:00:00", "12:40:00", "13:00:00", "15:00:00", diff --git a/business/partner/purchase/tao_vegetable/store_sku2.go b/business/partner/purchase/tao_vegetable/store_sku2.go index d181fc844..3d1ad2462 100644 --- a/business/partner/purchase/tao_vegetable/store_sku2.go +++ b/business/partner/purchase/tao_vegetable/store_sku2.go @@ -41,19 +41,19 @@ var ( func (p *PurchaseHandler) GetStoreSkusBatchSize(funcID int) (batchSize int) { switch funcID { case partner.FuncUpdateStoreSkusStock, partner.FuncUpdateStoreSkusStatus, partner.FuncUpdateStoreSkusPrice: - batchSize = 10 + batchSize = 5 case partner.FuncDeleteStoreSkus: - batchSize = 10 + batchSize = 5 case partner.FuncCreateStoreSkus: - batchSize = 10 // 可考虑用批量操作 + batchSize = 5 // 可考虑用批量操作 case partner.FuncUpdateStoreSkus: - batchSize = 10 // mtwmapi.MaxStoreSkuBatchSize + batchSize = 5 // mtwmapi.MaxStoreSkuBatchSize case partner.FuncGetStoreSkusFullInfo: - batchSize = 10 + batchSize = 5 case partner.FuncCreateActs: - batchSize = 10 + batchSize = 5 case partner.FuncCancelActs: - batchSize = 10 + batchSize = 5 } return batchSize }