修改描述文字

This commit is contained in:
ztzh_xieyun 2024-06-03 16:01:57 +08:00
parent 48d64a869a
commit 6d0eb56f5d
3 changed files with 4 additions and 4 deletions

View File

@ -555,7 +555,7 @@ public class AppConfigHandler {
// // 会跳转到 RestfulFailureHandlerImpl
// throw new HttpException(10003);
// }
// apiconfig uri rewrite
String appCode = context.request().headers().get(getAppCodeHeaderKey());
String apiCode = context.request().headers().get(getApiCodeHeaderKey());

View File

@ -32,10 +32,10 @@ public class OpenParameterCheckHandlerImpl extends BaseRoutingContextDataHandler
return;
}
// 设置上下数据
// 设置上下数据
this.ctxData(rc, appConfig, apiConfig, apiCacheKey);
// 反向代理负载均衡,需要从header拿到appCode,apiCode
// 反向代理负载均衡前置拦截器(uri rewrite),需要从header拿到appCode,apiCode
rc.request().headers().add(AppConfigHandler.getAppCodeHeaderKey(), appConfig.getAppCode());
rc.request().headers().add(AppConfigHandler.getApiCodeHeaderKey(), domain);
} catch (Exception e) {

View File

@ -38,7 +38,7 @@ public class SACParameterCheckHandlerImpl extends BaseRoutingContextDataHandler
return;
}
// 设置上下数据
// 设置上下数据
this.ctxData(rc, appConfig, apiConfig, apiCacheKey);
} catch (Exception e) {
log.error("SACParameterCheckHandlerImpl Error:", e);