记得上下班打卡 | git大法好,push需谨慎

Commit f414c93b authored by jiangxiulong's avatar jiangxiulong

Merge remote-tracking branch 'origin/jxl_220622_nft_buy' into pre

parents 2efcd1bf 1513ee9c
......@@ -132,15 +132,17 @@ public class GoblinNftOrderServiceImpl implements IGoblinNftOrderService {
return ResponseDto.failure("您已超出限购数量~");
}
}
// 权限限购
boolean isVip = nftOrderUtils.isVipMember(uid);
String buyFactor = skuVo.getBuyFactor();
if (null == buyFactor) {
buyFactor = "0";
}
Boolean isAuthBuy = goblinOrderUtils.judgeOrderRose(isVip, skuId, mobile, Integer.parseInt(buyFactor));
if (!isAuthBuy) {
return ResponseDto.failure("该商品仅限特定用户购买~");
// 权限限购 分批购不用这个规则
if (null == listId) {
boolean isVip = nftOrderUtils.isVipMember(uid);
String buyFactor = skuVo.getBuyFactor();
if (null == buyFactor) {
buyFactor = "0";
}
Boolean isAuthBuy = goblinOrderUtils.judgeOrderRose(isVip, skuId, mobile, Integer.parseInt(buyFactor));
if (!isAuthBuy) {
return ResponseDto.failure("该商品仅限特定用户购买~");
}
}
// 判断优惠券不能一起使用
/*String platVoucherCode = payParam.getPlatVoucherCode();
......
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