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