- 京西活动不对参数进行检查

This commit is contained in:
gazebo
2019-06-19 16:03:50 +08:00
parent d8c73c6710
commit 64a101c513

View File

@@ -283,7 +283,7 @@ func CreateJdPromotion(ctx *jxcontext.Context, vendorID int, isIDJd bool, isAsyn
Source: PromotionSourceOpenPlatform,
}
if vendorPromotionID == "" {
if vendorPromotionID == "" && vendorID == model.VendorIDJD {
skuIDs := make([]int, len(params.SkuPrices))
skuPriceMap := make(map[int64]*SkuPrice)
for k, v := range params.SkuPrices {