删除日志

This commit is contained in:
邹宗楠
2023-12-25 17:00:08 +08:00
parent 6f4f5cab31
commit 4e5a131f74
2 changed files with 0 additions and 23 deletions

View File

@@ -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"]))