Browse Source

添加机场相关信息

tags/v2.5.0
xiaoying 1 year ago
parent
commit
e6345ed8f7
3 changed files with 20 additions and 7 deletions
  1. +9
    -0
      tuoheng_oidc_admin/src/main/java/com/tuoheng/constant/AirportConstant.java
  2. +3
    -3
      tuoheng_oidc_admin/src/main/java/com/tuoheng/service/impl/TenantServiceImpl.java
  3. +8
    -4
      tuoheng_oidc_admin/src/main/java/com/tuoheng/third/service/impl/ThirdServiceImpl.java

+ 9
- 0
tuoheng_oidc_admin/src/main/java/com/tuoheng/constant/AirportConstant.java View File

@@ -26,5 +26,14 @@ public class AirportConstant {
* 删除租户
*/
public static final String DELETE_TENANT = "/api/airportInterface/delTenant";
/**
* 查询可用角色
*/
public static final String FIND_ROLE = "/api/airportInterface/getRoleList";

/**
* 查询角色对应菜单
*/
public static final String FIND_MENU = "/api/airportInterface/getMenuList/{roleId}";

}

+ 3
- 3
tuoheng_oidc_admin/src/main/java/com/tuoheng/service/impl/TenantServiceImpl.java View File

@@ -890,10 +890,10 @@ public class TenantServiceImpl implements TenantService {
case HhzUrlConstant.HHZ_CLIENT:
url = url + HhzUrlConstant.UPDATE_TENANT;
break;
/* //机场
//机场
case AirportConstant.AIRPORT_CLIENT:
url = url + AirportConstant.DELETE_TENANT + CommonConstant.SLASH + dto.getTenantCode();
break;*/
url = url + AirportConstant.EDIT_TENANT;
break;
case FreeWayConstant.FREEWAY_CLIENT:
url = url + FreeWayConstant.UPDATE_TENANT;
break;

+ 8
- 4
tuoheng_oidc_admin/src/main/java/com/tuoheng/third/service/impl/ThirdServiceImpl.java View File

@@ -148,6 +148,10 @@ public class ThirdServiceImpl implements ThirdService {
case HhzUrlConstant.HHZ_CLIENT:
url = String.format(Locale.ENGLISH, "%s%s", platform.getPlatformUrl(), HhzUrlConstant.FIND_MENU);
break;
//机场
case AirportConstant.AIRPORT_CLIENT:
url = String.format(Locale.ENGLISH, "%s%s", platform.getPlatformUrl(), AirportConstant.FIND_MENU);
break;
//高速
case FreeWayConstant.FREEWAY_CLIENT:
url = String.format(Locale.ENGLISH, "%s%s", platform.getPlatformUrl(), FreeWayConstant.FIND_MENU);
@@ -219,10 +223,10 @@ public class ThirdServiceImpl implements ThirdService {
case HhzUrlConstant.HHZ_CLIENT:
url = url + HhzUrlConstant.FIND_ROLE;
break;
////机场
//case AirportConstant.AIRPORT_CLIENT:
// url = url + AirportConstant.CREATE_TENANT;
// break;
//机场
case AirportConstant.AIRPORT_CLIENT:
url = url + AirportConstant.FIND_ROLE;
break;
//高速
case FreeWayConstant.FREEWAY_CLIENT:
url = url + FreeWayConstant.FIND_ROLE;

Loading…
Cancel
Save