本地联调时 访问pudge apisix接口时 header 添加appVersion

This commit is contained in:
wangjibo 2023-09-18 15:03:37 +08:00
parent f28d05f11d
commit c1d3d03e30

View File

@ -230,6 +230,7 @@ public class ContextInfoBuilderAspect {
.header(AuthConstants.HEADER_WORKSPACE_ID, contextInfo.getWorkspaceId().toString())
.header(AuthConstants.HEADER_OU_ID, contextInfo.getOuId().toString())
.header(AuthConstants.HEADER_REQUEST_CODE, "") // 本地调试传个空
.header(AuthConstants.HEADER_APP_VERSION, originalRequest.getHeader(AuthConstants.HEADER_APP_VERSION))
.header(AuthConstants.HEADER_SAAS_TENANT_ID, contextInfo.getSaasTenantId().toString());
// 期待未来前端补齐header之后删掉这一行以及相关代码