Commit f6936e29 authored by gaoguangjing's avatar gaoguangjing

移除羊小咩校验

parent b5ee5643
......@@ -317,7 +317,7 @@ public class AppController implements IBaseController {
return JsonResult.buildErrorStateResult("登录失败", null);
}
//校验租户ID tenantId
if (TenantUtil.TENANT_DEFAULT != null && !TenantUtil.TENANT_DEFAULT.equals(0) && !TenantUtil.TENANT_DEFAULT.equals(tenantId)) {
if (TenantUtil.TENANT_DEFAULT != null && !TenantUtil.TENANT_DEFAULT.equals(0)) {
oauthLoginInfoService.addLoginInfo(user, tenantId);
}
LoginProperties loginProperties = new LoginProperties("", 4, channelId, registerFrom, appChannel, null, "", tenantId);
......
......@@ -103,7 +103,7 @@ public class AppletServiceImpl implements IAppletService {
throw new AppletException("未找到此用户","0401");
}
//校验租户ID tenantId
if (TenantUtil.TENANT_DEFAULT != null && !TenantUtil.TENANT_DEFAULT.equals(0) && !TenantUtil.TENANT_DEFAULT.equals(tenantId)) {
if (TenantUtil.TENANT_DEFAULT != null && !TenantUtil.TENANT_DEFAULT.equals(0)) {
iOauthLoginInfoService.addLoginInfo(user, tenantId);
}
LoginVo loginVo = loginModule.loginByUserId(user.getRegisteredFrom(),
......
......@@ -390,7 +390,7 @@ public class UserServiceImpl implements IUserService, IBaseController {
log.info("神策埋点出现问题", e);
}
//校验租户ID tenantId
if (TenantUtil.TENANT_DEFAULT != null && !TenantUtil.TENANT_DEFAULT.equals(0) && !TenantUtil.TENANT_DEFAULT.equals(tenantId)) {
if (TenantUtil.TENANT_DEFAULT != null && !TenantUtil.TENANT_DEFAULT.equals(0)) {
oauthLoginInfoService.addLoginInfo(user, tenantId);
}
LoginProperties loginProperties = new LoginProperties("", 3, channelId, createdFrom, appChannel, merchant.getId(), merchant.getName(), null);
......
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