Browse Source

修改用户中心创建租户时,传clientId问题

tags/V1.3.3^2
wanjing 11 months ago
parent
commit
f0762f2de9
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/third/oidc/AddOidcTenantService.java
  2. +1
    -1
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/third/oidc/EditOidcTenantService.java

+ 1
- 1
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/third/oidc/AddOidcTenantService.java View File

log.info("请求参数:{}", clientRoleDto); log.info("请求参数:{}", clientRoleDto);
if (clientRoleDto.getClientId().contains("freeway")) { if (clientRoleDto.getClientId().contains("freeway")) {
user.setRoleId(clientRoleDto.getRoleId()); user.setRoleId(clientRoleDto.getRoleId());
user.setClientId(clientRoleDto.getClientId());
user.setClientId("1,2");
} }
} }
user.setDeptId(""); user.setDeptId("");

+ 1
- 1
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/third/oidc/EditOidcTenantService.java View File

log.info("请求参数:{}", clientRoleDto); log.info("请求参数:{}", clientRoleDto);
if (clientRoleDto.getClientId().contains("freeway")) { if (clientRoleDto.getClientId().contains("freeway")) {
user.setRoleId(clientRoleDto.getRoleId()); user.setRoleId(clientRoleDto.getRoleId());
user.setClientId(clientRoleDto.getClientId());
user.setClientId("1,2");
} }
} }
user.setUpdateTime(DateUtils.now()); user.setUpdateTime(DateUtils.now());

Loading…
Cancel
Save