|
@@ -746,7 +746,7 @@ public class CartClubServiceImpl implements CartClubService {
|
|
|
*
|
|
|
* @param cartDto {
|
|
|
* userId 用户ID
|
|
|
- * productId 商品id
|
|
|
+ * skuId skuId
|
|
|
* productCount 商品数量
|
|
|
* }
|
|
|
*/
|
|
@@ -754,7 +754,7 @@ public class CartClubServiceImpl implements CartClubService {
|
|
|
public ResponseJson<Integer> updateShoppingCart(CartDto cartDto) {
|
|
|
CartPo cart = new CartPo();
|
|
|
cart.setUserId(cartDto.getUserId());
|
|
|
- cart.setProductId(cartDto.getProductId());
|
|
|
+ cart.setSkuId(cartDto.getSkuId());
|
|
|
cart.setProductCount(cartDto.getProductCount());
|
|
|
cart.setAddTime(new Date());
|
|
|
cartClubMapper.updateCart(cart);
|