Ver código fonte

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

tags/V1.3.3^2
wanjing 11 meses atrás
pai
commit
f0762f2de9
2 arquivos alterados com 2 adições e 2 exclusões
  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 Ver arquivo

@@ -161,7 +161,7 @@ public class AddOidcTenantService {
log.info("请求参数:{}", clientRoleDto);
if (clientRoleDto.getClientId().contains("freeway")) {
user.setRoleId(clientRoleDto.getRoleId());
user.setClientId(clientRoleDto.getClientId());
user.setClientId("1,2");
}
}
user.setDeptId("");

+ 1
- 1
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/third/oidc/EditOidcTenantService.java Ver arquivo

@@ -174,7 +174,7 @@ public class EditOidcTenantService {
log.info("请求参数:{}", clientRoleDto);
if (clientRoleDto.getClientId().contains("freeway")) {
user.setRoleId(clientRoleDto.getRoleId());
user.setClientId(clientRoleDto.getClientId());
user.setClientId("1,2");
}
}
user.setUpdateTime(DateUtils.now());

Carregando…
Cancelar
Salvar