From acfd902071f704f737d0115962404e73635287d3 Mon Sep 17 00:00:00 2001 From: gazebo Date: Wed, 6 Mar 2019 11:06:22 +0800 Subject: [PATCH] - debug in jd.syncStoreSkus --- business/partner/purchase/jd/store_sku.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/business/partner/purchase/jd/store_sku.go b/business/partner/purchase/jd/store_sku.go index 5fafc058e..c3035fbc5 100644 --- a/business/partner/purchase/jd/store_sku.go +++ b/business/partner/purchase/jd/store_sku.go @@ -211,7 +211,7 @@ func (p *PurchaseHandler) syncStoreSkus(ctx *jxcontext.Context, parentTask tasks } } } - // globals.SugarLogger.Debug(utils.Format4Output(skuVendibilityList, false), utils.Format4Output(skuPriceInfoList, false), utils.Format4Output(skuStockList, false)) + globals.SugarLogger.Debugf("jd syncStoreSkus sync detail, storeID:%d, skuVendibilityList:%s, skuPriceInfoList:%s, skuStockList:%s", storeID, utils.Format4Output(skuVendibilityList, true), utils.Format4Output(skuPriceInfoList, true), utils.Format4Output(skuStockList, true)) if globals.EnableStoreWrite { // todo 以下可以优化为并行操作 if len(skuVendibilityList) > 0 {