refactor:购物车添加商品skuId重复

This commit is contained in:
haoxr 2021-03-27 00:58:26 +08:00
parent 668c3be030
commit a8113b3699

View File

@ -92,7 +92,6 @@ public class CartServiceImpl implements ICartService {
cartItem.setCount(1);
cartItem.setPrice(sku.getPrice());
cartItem.setPic(sku.getPic());
cartItem.setSkuId(sku.getId());
cartItem.setSkuName(sku.getName());
cartItem.setStock(sku.getStock());
cartItem.setSkuCode(sku.getCode());