From 374ba24bd9d48f72530e4029eaf522b2de162958 Mon Sep 17 00:00:00 2001 From: zhouyuan <1069065057@qq.com> Date: Fri, 7 Jan 2022 17:33:05 +0800 Subject: [PATCH] update --- .../java/com/ydool/boot/api/controller/ApiAuthController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);