1
This commit is contained in:
@@ -534,10 +534,6 @@ func syncStoreSkuNew(ctx *jxcontext.Context, parentTask tasksch.ITask, causeFlag
|
|||||||
skus, err = dao.GetStoreSkus(db, vendorID, storeID, skuIDs)
|
skus, err = dao.GetStoreSkus(db, vendorID, storeID, skuIDs)
|
||||||
}
|
}
|
||||||
|
|
||||||
if storeID == 20002 {
|
|
||||||
globals.SugarLogger.Debugf("-----sku := %s", utils.Format4Output(skus, false))
|
|
||||||
}
|
|
||||||
|
|
||||||
if err != nil || len(skus) == 0 {
|
if err != nil || len(skus) == 0 {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -454,10 +454,6 @@ func (p *PurchaseHandler) createOrUpdateStoreSkus(ctx *jxcontext.Context, storeI
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
if storeID == 20002 {
|
|
||||||
globals.SugarLogger.Debugf("-----foodDataList := %s", utils.Format4Output(foodDataList, false))
|
|
||||||
globals.SugarLogger.Debugf("-----storeSku := %s", utils.Format4Output(storeSkuList, false))
|
|
||||||
}
|
|
||||||
if globals.EnableMtwmStoreWrite {
|
if globals.EnableMtwmStoreWrite {
|
||||||
if len(foodDataList) == 1 {
|
if len(foodDataList) == 1 {
|
||||||
foodDataList[0]["skus"] = string(utils.MustMarshal(foodDataList[0]["skus"]))
|
foodDataList[0]["skus"] = string(utils.MustMarshal(foodDataList[0]["skus"]))
|
||||||
|
|||||||
Reference in New Issue
Block a user