fix:【Mall 商城】修复积分商品新增时校验商品是否参与其他活动校验失败
This commit is contained in:
@@ -222,6 +222,7 @@ public class PointActivityServiceImpl implements PointActivityService {
|
||||
if (spu == null) {
|
||||
throw exception(SPU_NOT_EXISTS);
|
||||
}
|
||||
products.forEach(product -> product.setSpuId(spuId));
|
||||
|
||||
// 2. 校验商品 sku 都存在
|
||||
List<ProductSkuRespDTO> skus = productSkuApi.getSkuListBySpuId(singletonList(spuId));
|
||||
|
||||
Reference in New Issue
Block a user