Browse Source

更新修改租户对接业务平台

tags/v2.4.1
xiaoying 1 year ago
parent
commit
b55f0c2075
3 changed files with 8 additions and 4 deletions
  1. +4
    -0
      tuoheng_oidc_admin/src/main/java/com/tuoheng/constant/WaterWayConstant.java
  2. +4
    -4
      tuoheng_oidc_admin/src/main/java/com/tuoheng/service/impl/ClientUserServiceImpl.java
  3. BIN
      tuoheng_oidc_admin/target/classes/com/tuoheng/service/impl/ClientUserServiceImpl.class

+ 4
- 0
tuoheng_oidc_admin/src/main/java/com/tuoheng/constant/WaterWayConstant.java View File

@@ -26,4 +26,8 @@ public class WaterWayConstant {
* 创建租户
*/
public static final String CREATE_TENANT = "/oidc/callback/tenant/create";
/**
* 更新租户
*/
public static final String UPDATE_TENANT = "/oidc/callback/tenant/edit";
}

+ 4
- 4
tuoheng_oidc_admin/src/main/java/com/tuoheng/service/impl/ClientUserServiceImpl.java View File

@@ -361,7 +361,7 @@ public class ClientUserServiceImpl implements ClientUserSevice {
businessSystemVo.setName(AirportConstant.AIRPORT_NAME);
businessSystemVoList.add(businessSystemVo);
}
if (authoritiesPo.getAuthority().contains("wateway")) {
if (authoritiesPo.getAuthority().contains("waterway")) {
BusinessSystemVo businessSystemVo = new BusinessSystemVo();
businessSystemVo.setClientId(WaterWayConstant.WATERWAY_CLIENT);
businessSystemVo.setName(WaterWayConstant.WATERWAY_NAME);
@@ -564,9 +564,9 @@ public class ClientUserServiceImpl implements ClientUserSevice {
//case AirportConstant.AIRPORT_CLIENT:
// url = url + AirportConstant.CREATE_TENANT;
// break;
//case AirportConstant.AIRPORT_CLIENT:
// url = url + AirportConstant.CREATE_TENANT;
// break;
case WaterWayConstant.WATERWAY_CLIENT:
url = url + WaterWayConstant.UPDATE_TENANT;
break;
default:
break;
}

BIN
tuoheng_oidc_admin/target/classes/com/tuoheng/service/impl/ClientUserServiceImpl.class View File


Loading…
Cancel
Save