Commit c218cade by caosy

小程序返回错误信息提示

parent 8d30faf9
......@@ -134,7 +134,7 @@ public class CommuneOrderService extends AbstractOrderService<CommuneOrderBean,
throw new OrderException(-43,"您还不是社员!");
}
if(communeOrderBean.getAmount().compareTo(COMMUNE_AMOUNT2) == 0 ){
throw new OrderException(-46,"您还不是我们的社员,不能点击续费!");
throw new OrderException(-46,"您还不是社员!");
}
}
if ((userExt.getVipGrade() & VipGradeEnum.VIP2.getKey()) == VipGradeEnum.VIP2.getKey() ) { //老社员续费
......@@ -142,7 +142,7 @@ public class CommuneOrderService extends AbstractOrderService<CommuneOrderBean,
throw new OrderException(-44,"您提交的入社年数超过了范围,请检查!");
}
if(communeOrderBean.getAmount().compareTo(COMMUNE_AMOUNT)==0){
throw new OrderException(-45, "您已经是爱玩公社社员了");
throw new OrderException(-45, "您已经是社员");
}
}
......
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 sign in to comment