REQ-3201: 备份
This commit is contained in:
parent
690761f5eb
commit
1ef765422c
@ -117,7 +117,7 @@ class EssCallbackController implements EssCallbackApi, InitializingBean {
|
||||
EssLog essLog = new EssLog();
|
||||
CallbackType callbackType = CallbackType.parse(request.getMsgType()).orElse(null);
|
||||
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("");
|
||||
if (subject != null)
|
||||
essLog.setSubject(String.valueOf(subject));
|
||||
|
||||
@ -254,7 +254,7 @@ class EssClient implements InitializingBean {
|
||||
EssLog essLog = new EssLog();
|
||||
essLog.setCreateAt(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.addLogContent("essRequest", invocation.request);
|
||||
T response = null;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user