测试问题代码修改
This commit is contained in:
parent
5dc91d44a9
commit
928e0ed437
@ -172,7 +172,7 @@ public class PatientCenterController extends BaseController {
|
|||||||
throw new ServiceException(bindingResult.getAllErrors().get(0).getDefaultMessage());
|
throw new ServiceException(bindingResult.getAllErrors().get(0).getDefaultMessage());
|
||||||
}
|
}
|
||||||
if (Objects.isNull(goodsOrder.getIntegralExchangeSill()) || goodsOrder.getIntegralExchangeSill() <= 0) {
|
if (Objects.isNull(goodsOrder.getIntegralExchangeSill()) || goodsOrder.getIntegralExchangeSill() <= 0) {
|
||||||
return AjaxResult.error("当前积分数值不足,无法兑换!");
|
return AjaxResult.error("当前健康豆数值不足,无法兑换!");
|
||||||
}
|
}
|
||||||
if (Objects.isNull(goodsOrder.getIntegralExchangeCount()) || goodsOrder.getIntegralExchangeCount() <= 0) {
|
if (Objects.isNull(goodsOrder.getIntegralExchangeCount()) || goodsOrder.getIntegralExchangeCount() <= 0) {
|
||||||
return AjaxResult.error("兑换商品数量不正确,无法兑换!");
|
return AjaxResult.error("兑换商品数量不正确,无法兑换!");
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user