|
|
|
|
|
|
|
|
if(!StringUtils.isEmpty(clientId)){ |
|
|
if(!StringUtils.isEmpty(clientId)){ |
|
|
log.info("clientId is :{}", clientId); |
|
|
log.info("clientId is :{}", clientId); |
|
|
String requestUrl = exchange.getRequest().getPath().value(); |
|
|
String requestUrl = exchange.getRequest().getPath().value(); |
|
|
|
|
|
log.info("requestUrl is :{}", clientId); |
|
|
//去除gateway path 前缀 |
|
|
//去除gateway path 前缀 |
|
|
String apiUrl = requestUrl.replace(GatewayUrlPathUtil.getPathByClientId(clientId),""); |
|
|
String apiUrl = requestUrl.replace(GatewayUrlPathUtil.getPathByClientId(clientId),""); |
|
|
log.info("apiUrl is :{}", apiUrl); |
|
|
log.info("apiUrl is :{}", apiUrl); |