@@ -62,6 +62,7 @@ public class GatewayFilterConfig implements GlobalFilter, Ordered { | |||
if(!StringUtils.isEmpty(clientId)){ | |||
log.info("clientId is :{}", clientId); | |||
String requestUrl = exchange.getRequest().getPath().value(); | |||
log.info("requestUrl is :{}", clientId); | |||
//去除gateway path 前缀 | |||
String apiUrl = requestUrl.replace(GatewayUrlPathUtil.getPathByClientId(clientId),""); | |||
log.info("apiUrl is :{}", apiUrl); |