瀏覽代碼

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

tags/V1.3.3^2
wanjing 11 月之前
父節點
當前提交
f0762f2de9
共有 2 個文件被更改,包括 2 次插入2 次删除
  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 查看文件

@@ -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 查看文件

@@ -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());

Loading…
取消
儲存