Merge branch 'new_3A' into planz
This commit is contained in:
commit
a96a3097a1
@ -13,6 +13,8 @@ public enum EnvEnum {
|
||||
TEST("TEST", "http://test-api.axzo.cn/pudge/webApi/oauth/apisix/authentication"),
|
||||
//TEST1
|
||||
TEST1("TEST1", "http://test1-api.axzo.cn/pudge/webApi/oauth/apisix/authentication"),
|
||||
//TEST1
|
||||
UAT("UAT", "http://uat-api.axzo.cn/pudge/webApi/oauth/apisix/authentication"),
|
||||
//PRE
|
||||
PRE("PRE", "http://pre-api.axzo.cn/pudge/webApi/oauth/apisix/authentication"),
|
||||
;
|
||||
|
||||
@ -219,6 +219,7 @@ public class ContextInfoBuilderAspect {
|
||||
try {
|
||||
HttpRequest request = HttpRequest.get(url).header(AuthConstants.HEADER_TOKEN, contextInfo.getToken())
|
||||
.header(AuthConstants.HEADER_TERMINAL, contextInfo.getTerminalInfo().getRawTerminalString())
|
||||
.header(AuthConstants.HEADER_SYSTEM_TYPE,contextInfo.getSystemAndDeviceInfo().getSystemType())
|
||||
.header(AuthConstants.HEADER_WORKSPACE_ID, contextInfo.getWorkspaceId().toString())
|
||||
.header(AuthConstants.HEADER_OU_ID, contextInfo.getOuId().toString())
|
||||
.header(AuthConstants.HEADER_REQUEST_CODE, "") // 本地调试,传个空
|
||||
|
||||
Loading…
Reference in New Issue
Block a user