1
This commit is contained in:
@@ -711,15 +711,6 @@ func syncStoreSkuNew(ctx *jxcontext.Context, parentTask tasksch.ITask, causeFlag
|
||||
}
|
||||
|
||||
}
|
||||
globals.SugarLogger.Debugf("====================%s", utils.Format4Output(deleteList, false))
|
||||
globals.SugarLogger.Debugf("====================%s", utils.Format4Output(updateList, false))
|
||||
globals.SugarLogger.Debugf("====================%s", utils.Format4Output(stockList, false))
|
||||
globals.SugarLogger.Debugf("====================%s", utils.Format4Output(createList, false))
|
||||
globals.SugarLogger.Debugf("====================%s", utils.Format4Output(onlineList, false))
|
||||
globals.SugarLogger.Debugf("====================%s", utils.Format4Output(offlineList, false))
|
||||
globals.SugarLogger.Debugf("====================%s", utils.Format4Output(priceList, false))
|
||||
globals.SugarLogger.Debugf("====================%s", utils.Format4Output(updateItems, false))
|
||||
globals.SugarLogger.Debugf("====================%s", utils.Format4Output(reorderSkuMap, false))
|
||||
task := tasksch.NewParallelTask("syncStoreSkuNew", tasksch.NewParallelConfig().SetParallelCount(1).SetIsContinueWhenError(isContinueWhenError2), ctx,
|
||||
func(task *tasksch.ParallelTask, batchItemList []interface{}, params ...interface{}) (retVal interface{}, err error) {
|
||||
step := batchItemList[0].(int)
|
||||
|
||||
@@ -592,6 +592,8 @@ func (p *PurchaseHandler) UpdateStoreSkusPrice(ctx *jxcontext.Context, vendorOrg
|
||||
CleanSkuMemberPrice: utils.Int64ToPointer(model.YES),
|
||||
SubTitle: utils.String2Pointer("小时达"),
|
||||
}
|
||||
// 临时更新上传图片错误的,或图片上传失败的商品
|
||||
updateSku.SkuPicUrls = uploadImg(api, v.SkuID, model.VendorIDTaoVegetable, nil)
|
||||
updateSkuList = append(updateSkuList, updateSku)
|
||||
}
|
||||
param.ParamList = &updateSkuList
|
||||
|
||||
Reference in New Issue
Block a user