Commit e4f9d438 authored by 李健华's avatar 李健华

小程序冻结错误码0402

parent af91486e
...@@ -89,7 +89,7 @@ public class AppletServiceImpl implements IAppletService { ...@@ -89,7 +89,7 @@ public class AppletServiceImpl implements IAppletService {
} }
if (!user.getEnable()) { if (!user.getEnable()) {
log.warn("已冻结 userId--{}", user.getId()); log.warn("已冻结 userId--{}", user.getId());
throw new AppletException(USER_FREEZE_ERROR, "0401"); throw new AppletException(USER_FREEZE_ERROR, "0402");
} }
iOauthLoginInfoService.addRegisterInfo(user, appletParamEntry); iOauthLoginInfoService.addRegisterInfo(user, appletParamEntry);
wechatUserInfo.setUserId(user.getId()); wechatUserInfo.setUserId(user.getId());
...@@ -107,7 +107,7 @@ public class AppletServiceImpl implements IAppletService { ...@@ -107,7 +107,7 @@ public class AppletServiceImpl implements IAppletService {
if (!user.getEnable()) { if (!user.getEnable()) {
log.warn("已冻结 userId--{}", user.getId()); log.warn("已冻结 userId--{}", user.getId());
throw new AppletException(USER_FREEZE_ERROR, "0401"); throw new AppletException(USER_FREEZE_ERROR, "0402");
} }
iOauthLoginInfoService.addRegisterInfo(user, appletParamEntry); iOauthLoginInfoService.addRegisterInfo(user, appletParamEntry);
...@@ -142,7 +142,7 @@ public class AppletServiceImpl implements IAppletService { ...@@ -142,7 +142,7 @@ public class AppletServiceImpl implements IAppletService {
if (!user.getEnable()) { if (!user.getEnable()) {
log.warn("已冻结,appName:{} ,openId:{}", appName, openId); log.warn("已冻结,appName:{} ,openId:{}", appName, openId);
throw new AppletException(USER_FREEZE_ERROR, "0401"); throw new AppletException(USER_FREEZE_ERROR, "0402");
} }
iOauthLoginInfoService.addLoginInfo(user, tenantId); iOauthLoginInfoService.addLoginInfo(user, tenantId);
...@@ -165,7 +165,7 @@ public class AppletServiceImpl implements IAppletService { ...@@ -165,7 +165,7 @@ public class AppletServiceImpl implements IAppletService {
} }
if (!user.getEnable()) { if (!user.getEnable()) {
log.warn("已冻结,appName:{} ,openId:{}", appName, openId); log.warn("已冻结,appName:{} ,openId:{}", appName, openId);
throw new AppletException(USER_FREEZE_ERROR, "0401"); throw new AppletException(USER_FREEZE_ERROR, "0402");
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment