Browse Source

新增河湖长client

pull/31/head
chenjiandong 1 year ago
parent
commit
3bc93203da
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/main/java/com/tuoheng/gateway/utils/GatewayUrlPathUtil.java

+ 1
- 1
src/main/java/com/tuoheng/gateway/utils/GatewayUrlPathUtil.java View File

@@ -49,7 +49,7 @@ public class GatewayUrlPathUtil {
*/
public static List<Integer> getRoleIdByApiUrlPermission(String clientId, String apiUrl, String token){
List<Integer> resList = new ArrayList<>();
if(clientId.equals(HHZ_ADMIN)){
if(clientId.equals(HHZ_ADMIN) || clientId.equals(HHZ_MP)){
String url = CommonsConfig.hhzPermissionUrl;
HttpHeaders resultRequestHeader = new HttpHeaders();
resultRequestHeader.add("Authorization", "Bearer " + token);

Loading…
Cancel
Save