feat: 设置callerApp step 3

This commit is contained in:
zengxiaobo 2024-04-29 09:04:08 +08:00
parent 831561ec27
commit f0522d9739

View File

@ -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);
} }