优化代码生成

This commit is contained in:
AlanScipio
2024-02-18 16:58:39 +08:00
parent 09b96b5cfa
commit 7a257eb264
39 changed files with 3614 additions and 436 deletions

View File

@@ -9,12 +9,11 @@ import com.ruoyi.system.api.domain.SysOperLog;
/**
* 异步调用日志服务
*
*
* @author ruoyi
*/
@Service
public class AsyncLogService
{
public class AsyncLogService {
@Autowired
private RemoteLogService remoteLogService;
@@ -22,8 +21,7 @@ public class AsyncLogService
* 保存系统日志记录
*/
@Async
public void saveSysLog(SysOperLog sysOperLog) throws Exception
{
public void saveSysLog(SysOperLog sysOperLog) throws Exception {
remoteLogService.saveLog(sysOperLog, SecurityConstants.INNER);
}
}