feat: 设置callerApp step 3
This commit is contained in:
parent
831561ec27
commit
f0522d9739
@ -207,7 +207,11 @@ public class DebugProxyHook implements ProxyHook {
|
|||||||
String url = UrlPathHelper.join(host, POST_DEBUG_LOG_PATH);
|
String url = UrlPathHelper.join(host, POST_DEBUG_LOG_PATH);
|
||||||
|
|
||||||
RpcClient rpcClient = proxyContext.getServiceResolver().getRpcClient(GlobalContext.BIZ_GATE_CENTER_SERVICE_CODE);
|
RpcClient rpcClient = proxyContext.getServiceResolver().getRpcClient(GlobalContext.BIZ_GATE_CENTER_SERVICE_CODE);
|
||||||
rpcClient.post(url, debugLog, Object.class);
|
rpcClient.request()
|
||||||
|
.url(url)
|
||||||
|
.content(debugLog)
|
||||||
|
.clz(Object.class)
|
||||||
|
.post();
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
log.error("post debug log error, debugLog = {}", debugLog, e);
|
log.error("post debug log error, debugLog = {}", debugLog, e);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user