删除日志
This commit is contained in:
@@ -324,9 +324,6 @@ func (p *PurchaseHandler) CreateStoreSkus(ctx *jxcontext.Context, storeID int, v
|
||||
|
||||
// 对于多门店平台来说,storeSkuList中只有SkuID与VendorSkuID有意义
|
||||
func (p *PurchaseHandler) createOrUpdateStoreSkus(ctx *jxcontext.Context, storeID int, vendorStoreID string, storeSkuList []*dao.StoreSkuSyncInfo, isCreate bool) (failedList []*partner.StoreSkuInfoWithErr, err error) {
|
||||
if storeID == 668545 {
|
||||
globals.SugarLogger.Debugf("================storeSkuList %d : %s", len(storeSkuList), vendorStoreID)
|
||||
}
|
||||
var syncType string
|
||||
foodDataList := make([]map[string]interface{}, len(storeSkuList))
|
||||
if isCreate {
|
||||
@@ -444,10 +441,6 @@ func (p *PurchaseHandler) createOrUpdateStoreSkus(ctx *jxcontext.Context, storeI
|
||||
}
|
||||
|
||||
}
|
||||
if storeID == 668545 {
|
||||
globals.SugarLogger.Debugf("================lenfoodDataList %d", len(foodDataList))
|
||||
globals.SugarLogger.Debugf("================lenfoodDataList %s", utils.Format4Output(foodDataList, false))
|
||||
}
|
||||
if globals.EnableMtwmStoreWrite {
|
||||
if len(foodDataList) == 1 {
|
||||
foodDataList[0]["skus"] = string(utils.MustMarshal(foodDataList[0]["skus"]))
|
||||
|
||||
Reference in New Issue
Block a user