|
@ -230,9 +230,6 @@ public class WechatController extends WeixinBaseController {
|
|
|
if (StringUtils.isEmpty(mobile)) {
|
|
|
return error(-1, "手机号不允许为空!");
|
|
|
}
|
|
|
if (patientService.findByMobile(mobile) != null) {
|
|
|
return error(-1, "该手机号已被注册!");
|
|
|
}
|
|
|
// 对验证码进行校验
|
|
|
int res = smsService.check(mobile, 1, captcha);
|
|
|
switch (res) {
|