fix: 加入购物车skuid可选
This commit is contained in:
@@ -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("参数缺失");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user