瀏覽代碼

新增河湖长client

pull/31/head
chenjiandong 1 年之前
父節點
當前提交
3bc93203da
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      src/main/java/com/tuoheng/gateway/utils/GatewayUrlPathUtil.java

+ 1
- 1
src/main/java/com/tuoheng/gateway/utils/GatewayUrlPathUtil.java 查看文件

@@ -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…
取消
儲存