|
@@ -248,8 +248,8 @@ public class BaseServiceImpl implements BaseService {
|
|
|
} else if (8 == activateCodeType) {
|
|
|
// 联合丽格注册发送短信
|
|
|
Integer dbUserId = baseMapper.getUserIdByOrganize(4,mobile);
|
|
|
- if (dbUserId == null) {
|
|
|
- return ResponseJson.error("该手机号暂未注册");
|
|
|
+ if (dbUserId != null) {
|
|
|
+ return ResponseJson.error("该手机号已注册");
|
|
|
}
|
|
|
// 您的验证码为:{s6},5分钟内有效,请勿泄漏他人。
|
|
|
String content = "您的验证码为:" + randomCode + ",5分钟内有效,请勿泄漏他人。";
|