1
This commit is contained in:
@@ -800,9 +800,7 @@ func CreateActForMtByOrder(ctx *jxcontext.Context, act *model.Act, vendorIDs []i
|
||||
}
|
||||
actIdResult := make(map[string]int64, 0)
|
||||
mtApi := mtwm.GetAPI(vendorOrgCode, storeID, storeDetail.VendorStoreID)
|
||||
actResult, fileInfoList, err6 := mtApi.RetailDiscountBatchSave2(storeDetail.VendorStoreID, actType, actData)
|
||||
globals.SugarLogger.Debugf("-----------actResult : %s", utils.Format4Output(actResult, false))
|
||||
globals.SugarLogger.Debugf("-----------err6 : %v,%d", err6, actType)
|
||||
actResult, fileInfoList, _ := mtApi.RetailDiscountBatchSave2(storeDetail.VendorStoreID, actType, actData)
|
||||
for _, v := range actResult {
|
||||
var (
|
||||
actStoreSkuMapUpdate *model.ActStoreSkuMap
|
||||
@@ -834,10 +832,7 @@ func CreateActForMtByOrder(ctx *jxcontext.Context, act *model.Act, vendorIDs []i
|
||||
actData2[i-1].Sequence = i
|
||||
actData2[i-1].OrderLimit = 1
|
||||
}
|
||||
a, b, c := mtApi.RetailDiscountBatchSave2(storeDetail.VendorStoreID, actType, actData2)
|
||||
globals.SugarLogger.Debugf("-----------a : %s", utils.Format4Output(a, false))
|
||||
globals.SugarLogger.Debugf("-----------b : %s", utils.Format4Output(b, false))
|
||||
globals.SugarLogger.Debugf("-----------c : %v", c)
|
||||
mtApi.RetailDiscountBatchSave2(storeDetail.VendorStoreID, actType, actData2)
|
||||
}
|
||||
for _, v := range fileInfoList {
|
||||
err2 += fmt.Sprintf("创建失败!门店ID:[%v],商品ID:[%v],原因:[%v]", storeID, v.AppFoodCode, v.ErrorMsg)
|
||||
|
||||
Reference in New Issue
Block a user