fix: 加入购物车skuid可选

This commit is contained in:
张松
2024-12-04 14:35:41 +08:00
parent aee40bef30
commit 56d1fbad0c

View File

@@ -368,7 +368,7 @@ public class CartService {
// 商品备注
String note = jsonObject.getString("note");
if (StringUtils.isBlank(shopId) || StringUtils.isBlank(productId)
|| StringUtils.isBlank(skuId) || type == null || buyNum == null) {
|| type == null || buyNum == null) {
return Result.fail("参数缺失");
}