From 54a73fa0b008d512a203957fa177cf6b75cfc170 Mon Sep 17 00:00:00 2001 From: dimengzhe Date: Wed, 10 Apr 2024 16:28:56 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E5=8A=A8=E7=AB=AF=E9=AA=8C=E8=AF=81?= =?UTF-8?q?=E7=A0=81=E7=99=BB=E5=BD=95=E5=8E=BB=E6=8E=89=E9=AA=8C=E8=AF=81?= =?UTF-8?q?=E8=AE=BE=E5=A4=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../yxt/anrui/portal/biz/sysuser/app/AppSysUserRest.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/anrui-portal/anrui-portal-biz/src/main/java/com/yxt/anrui/portal/biz/sysuser/app/AppSysUserRest.java b/anrui-portal/anrui-portal-biz/src/main/java/com/yxt/anrui/portal/biz/sysuser/app/AppSysUserRest.java index e86d7aaf81..260aa368f1 100644 --- a/anrui-portal/anrui-portal-biz/src/main/java/com/yxt/anrui/portal/biz/sysuser/app/AppSysUserRest.java +++ b/anrui-portal/anrui-portal-biz/src/main/java/com/yxt/anrui/portal/biz/sysuser/app/AppSysUserRest.java @@ -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 map = new HashMap<>(); map.put("mobile", mobile); map.put("appId", appId); int res = insertSysExceptionLog("b", JSON.toJSON(map).toString(), "当前账号已被其它设备绑定"); return new ResultBean().fail().setMsg("当前账号已被其它设备绑定(错误码:" + res + ")"); - } + }*/ } else { // 设备已绑定账号 - if (!mobile.equals(sysUser.getMobile())) { + /* if (!mobile.equals(sysUser.getMobile())) { Map map = new HashMap<>(); map.put("mobile", mobile); map.put("appId", appId); int res = insertSysExceptionLog("a", JSON.toJSON(map).toString(), "当前设备已绑定其它账号"); return new ResultBean().fail().setMsg("当前设备已绑定其它账号(错误码:" + res + ")"); - } + }*/ } } return sysUserService.sendVerificationCodeForApp(mobile, type);