@@ -25,11 +25,11 @@ public class CommonsConfig { | |||
@Value("${tuoheng.hhz-admin-perUrl}") | |||
public void setPermissionUrl(String url) { | |||
public void setHhzPermissionUrl(String url) { | |||
hhzPermissionUrl = url; | |||
} | |||
@Value("${tuoheng.hhz-admin-perUrl}") | |||
@Value("${tuoheng.freeway-admin-perUrl}") | |||
public void setFreewayPermissionUrl(String url) { | |||
freewayPermissionUrl = url; | |||
} |
@@ -59,7 +59,7 @@ public class GatewayUrlPathUtil { | |||
* @return | |||
*/ | |||
public static List<Integer> getRoleIdByApiUrlPermission(String clientId, String apiUrl, String token){ | |||
log.info("getRoleIdByApiUrlPermission - start"); | |||
log.info("getRoleIdByApiUrlPermission -start, clientId:{},apiUrl:{}", clientId, apiUrl); | |||
List<Integer> resList = new ArrayList<>(); | |||
String url = ""; | |||
if(clientId.equals(HHZ_ADMIN) || clientId.equals(HHZ_MP)){ |