diff --git a/src/main/java/com/ydool/boot/api/controller/ApiAuthController.java b/src/main/java/com/ydool/boot/api/controller/ApiAuthController.java index 0b52fd0..e4aba77 100644 --- a/src/main/java/com/ydool/boot/api/controller/ApiAuthController.java +++ b/src/main/java/com/ydool/boot/api/controller/ApiAuthController.java @@ -210,7 +210,7 @@ public class ApiAuthController extends ApiBaseController { String secretPhone=CodecUtils.encrypt(phone); //作为loginName的手机号不能重复 User repeatUser = checkPhoneRepeat(secretPhone); - if (repeatUser == null) render(Ret.fail("账号未注册")); + if (repeatUser == null) render(Ret.fail("该手机号不存在")); //存储验证码 String code = RandomUtil.randomNumbers(6);