|
|
@ -272,21 +272,21 @@ public class AppSysUserRest implements AppSysUserFeign { |
|
|
|
return new ResultBean().fail().setMsg("该手机号暂时还未注册,请先注册"); |
|
|
|
} |
|
|
|
} |
|
|
|
if (StringUtils.isNotBlank(sysUser.getAppId())) { |
|
|
|
/*if (StringUtils.isNotBlank(sysUser.getAppId())) { |
|
|
|
Map<String, Object> map = new HashMap<>(); |
|
|
|
map.put("mobile", mobile); |
|
|
|
map.put("appId", appId); |
|
|
|
int res = insertSysExceptionLog("b", JSON.toJSON(map).toString(), "当前账号已被其它设备绑定"); |
|
|
|
return new ResultBean<SysUserVo>().fail().setMsg("当前账号已被其它设备绑定(错误码:" + res + ")"); |
|
|
|
} |
|
|
|
}*/ |
|
|
|
} else { // 设备已绑定账号
|
|
|
|
if (!mobile.equals(sysUser.getMobile())) { |
|
|
|
/* if (!mobile.equals(sysUser.getMobile())) { |
|
|
|
Map<String, Object> map = new HashMap<>(); |
|
|
|
map.put("mobile", mobile); |
|
|
|
map.put("appId", appId); |
|
|
|
int res = insertSysExceptionLog("a", JSON.toJSON(map).toString(), "当前设备已绑定其它账号"); |
|
|
|
return new ResultBean<SysUserVo>().fail().setMsg("当前设备已绑定其它账号(错误码:" + res + ")"); |
|
|
|
} |
|
|
|
}*/ |
|
|
|
} |
|
|
|
} |
|
|
|
return sysUserService.sendVerificationCodeForApp(mobile, type); |
|
|
|