Commit b1b66cd8 by 周晓航

更新购物车数量接口 新增该操作校验

parent 6ed92f00
...@@ -2362,7 +2362,7 @@ public class ShoppingCartNewServiceImpl implements ShoppingCartNewService { ...@@ -2362,7 +2362,7 @@ public class ShoppingCartNewServiceImpl implements ShoppingCartNewService {
private void commonItemVerfity(String channel, String partnerId, String storeId, List<Long> productIds, Integer qty){ private void commonItemVerfity(String channel, String partnerId, String storeId, List<Long> productIds, Integer qty){
GetProductStockRequestDto requestDto = new GetProductStockRequestDto(); GetProductStockRequestDto requestDto = new GetProductStockRequestDto();
requestDto.setChannel(BusinessTypeEnum.getByType(channel); requestDto.setChannel(channel);
requestDto.setPartnerId(partnerId); requestDto.setPartnerId(partnerId);
requestDto.setStoreId(storeId); requestDto.setStoreId(storeId);
requestDto.setProductIds(productIds); requestDto.setProductIds(productIds);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment