Merge branch 'feature/REQ-2010' into pre

This commit is contained in:
yanglin 2024-02-28 14:45:32 +08:00
commit 9704d6618f
2 changed files with 3 additions and 6 deletions

View File

@ -37,9 +37,6 @@ public class XxlJobConfig {
@Value("${xxl.job.executor.logPath:}")
private String logPath;
@Value("${xxl.job.executor.logRetentionDays}")
private int logRetentionDays;
@Bean
@NonLocalEnvironment
public XxlJobSpringExecutor xxlJobExecutor() {
@ -51,7 +48,7 @@ public class XxlJobConfig {
xxlJobSpringExecutor.setPort(port);
xxlJobSpringExecutor.setAccessToken(accessToken);
xxlJobSpringExecutor.setLogPath(logPath);
xxlJobSpringExecutor.setLogRetentionDays(logRetentionDays);
xxlJobSpringExecutor.setLogRetentionDays(7);
return xxlJobSpringExecutor;
}

View File

@ -225,7 +225,7 @@ public class MessageService {
resp.setFromImAccount(messageRequest.getFrom());
resp.setToImAccount(messageRequest.getTo());
resp.setPersonId(sourcePersonId);
resp.setSendFailCause(sourcePersonId + " 未注册IM账户");
resp.setSendFailCause("personId=" + sourcePersonId + ",未注册IM账户");
messageDispatchRespList.add(resp);
}
}
@ -320,7 +320,7 @@ public class MessageService {
resp.setFromImAccount(messageRequest.getFrom());
resp.setToImAccount(messageRequest.getTo());
resp.setPersonId(personId);
resp.setSendFailCause(personId + " 未注册IM账户");
resp.setSendFailCause("personId=" + personId + ",未注册IM账户");
messageDispatchRespList.add(resp);
continue;
}