修改描述文字
This commit is contained in:
parent
48d64a869a
commit
6d0eb56f5d
@ -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());
|
||||
|
@ -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) {
|
||||
|
@ -38,7 +38,7 @@ public class SACParameterCheckHandlerImpl extends BaseRoutingContextDataHandler
|
||||
return;
|
||||
}
|
||||
|
||||
// 设置上下午数据
|
||||
// 设置上下文数据
|
||||
this.ctxData(rc, appConfig, apiConfig, apiCacheKey);
|
||||
} catch (Exception e) {
|
||||
log.error("SACParameterCheckHandlerImpl Error:", e);
|
||||
|
Loading…
x
Reference in New Issue
Block a user