REQ-3201: 备份

This commit is contained in:
yanglin 2025-02-12 14:28:31 +08:00
parent 690761f5eb
commit 1ef765422c
2 changed files with 2 additions and 2 deletions

View File

@ -117,7 +117,7 @@ class EssCallbackController implements EssCallbackApi, InitializingBean {
EssLog essLog = new EssLog(); EssLog essLog = new EssLog();
CallbackType callbackType = CallbackType.parse(request.getMsgType()).orElse(null); CallbackType callbackType = CallbackType.parse(request.getMsgType()).orElse(null);
String callbackTypeStr = callbackType == null ? "" : "[" + callbackType + "]"; String callbackTypeStr = callbackType == null ? "" : "[" + callbackType + "]";
essLog.setContext(String.format("ESS:CALLBACK:%s%s", request.getMsgType(), callbackTypeStr)); essLog.setContext(String.format("ess:callback:%s%s", request.getMsgType(), callbackTypeStr));
essLog.setSubject(""); essLog.setSubject("");
if (subject != null) if (subject != null)
essLog.setSubject(String.valueOf(subject)); essLog.setSubject(String.valueOf(subject));

View File

@ -254,7 +254,7 @@ class EssClient implements InitializingBean {
EssLog essLog = new EssLog(); EssLog essLog = new EssLog();
essLog.setCreateAt(new Date()); essLog.setCreateAt(new Date());
essLog.setUpdateAt(new Date()); essLog.setUpdateAt(new Date());
essLog.setContext(String.format("ESS:%s", invocation.context)); essLog.setContext(String.format("ess:%s", invocation.context));
essLog.setSubject(invocation.subject == null ? "" : invocation.subject); essLog.setSubject(invocation.subject == null ? "" : invocation.subject);
essLog.addLogContent("essRequest", invocation.request); essLog.addLogContent("essRequest", invocation.request);
T response = null; T response = null;