public class LogServiceClient
extends java.lang.Object
HSF mode: invokes HSF services via reflection to avoid compile-time SDK dependency. HTTP mode: sends JSON payload to a log service HTTP endpoint via WebClient.
| 构造器和说明 |
|---|
LogServiceClient(BusiLogPluginConfig config,
org.springframework.web.reactive.function.client.WebClient webClient)
Constructor.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addBusiLog(BusiLogDTO dto)
Send business operation log (equivalent to saveBusiLogs in RestController).
|
void |
addButtonLog(ButtonLogDTO dto)
Send page button operation log (equivalent to WritePageButtonLogsThread in RestController).
|
void |
addCallLog(CallLogDTO dto)
Send call log (equivalent to toExcLog in RestController).
|
public LogServiceClient(BusiLogPluginConfig config, org.springframework.web.reactive.function.client.WebClient webClient)
config - plugin configwebClient - reactive web client for HTTP modepublic void addCallLog(CallLogDTO dto)
dto - call log datapublic void addBusiLog(BusiLogDTO dto)
dto - busi log datapublic void addButtonLog(ButtonLogDTO dto)
dto - button log dataCopyright © 2026 The Apache Software Foundation. All rights reserved.