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

Commit befa5e36 authored by zhangguobing's avatar zhangguobing

~api:券商品业务-券类商品券限购调整;

parent d65f172c
...@@ -170,7 +170,7 @@ public class GoblinOrderServiceImpl implements IGoblinOrderService { ...@@ -170,7 +170,7 @@ public class GoblinOrderServiceImpl implements IGoblinOrderService {
rollbackStock = true; rollbackStock = true;
if (!res1.equals("")) { if (!res1.equals("")) {
// throw new Exception("已超出限购数量"); // throw new Exception("已超出限购数量");
throw new Exception("超出账号限购数量");// 按杨要求调整 throw new LiquidnetServiceException("-1", "超出账号限购数量");// 按杨要求调整
} }
//权限限购 //权限限购
Boolean res2 = orderUtils.judgeOrderRose(isMember, skuParam.getSkuId(), StringUtils.defaultString(((String) CurrentUtil.getTokenClaims().get("mobile")), ""), Integer.parseInt(skuVo.getBuyFactor())); Boolean res2 = orderUtils.judgeOrderRose(isMember, skuParam.getSkuId(), StringUtils.defaultString(((String) CurrentUtil.getTokenClaims().get("mobile")), ""), Integer.parseInt(skuVo.getBuyFactor()));
......
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