Browse Source

更新

tags/v1.2.0^2
xiaoying 1 year ago
parent
commit
d6a1a4a50c
2 changed files with 1 additions and 6 deletions
  1. +0
    -5
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/request/third/oidc/CreateOidcTenantRequest.java
  2. +1
    -1
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/third/oidc/AddOidcTenantService.java

+ 0
- 5
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/request/third/oidc/CreateOidcTenantRequest.java View File

@@ -24,11 +24,6 @@ public class CreateOidcTenantRequest {
*/
private String tenantName;

/**
* 平台
*/
private String clientId;

/**
* 密码
*/

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

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

Loading…
Cancel
Save