diff --git a/src/main/java/com/sczx/order/service/impl/GroupBuyCouponServiceImpl.java b/src/main/java/com/sczx/order/service/impl/GroupBuyCouponServiceImpl.java index 669e370..6e469d7 100644 --- a/src/main/java/com/sczx/order/service/impl/GroupBuyCouponServiceImpl.java +++ b/src/main/java/com/sczx/order/service/impl/GroupBuyCouponServiceImpl.java @@ -81,7 +81,7 @@ public class GroupBuyCouponServiceImpl implements GroupBuyCouponService { String phone = prepareResponse.getData().getMobile(); if (phone != null && !phone.isEmpty()){ if (comparePhoneNumbers(phone, req.getMobile())){ - throw new BizException("所提供的手机号码与团购手机号不一致"); + throw new BizException("99003","所提供的手机号码与团购手机号不一致"); } } //使用输入的手机号进行后续操作 @@ -145,7 +145,7 @@ public class GroupBuyCouponServiceImpl implements GroupBuyCouponService { if (finalPhone != null && !finalPhone.isEmpty()) { if (comparePhoneNumbers(finalPhone, req.getMobile())){ - throw new BizException("所提供的手机号码与团购手机号不一致"); + throw new BizException("99003","所提供的手机号码与团购手机号不一致"); } }