| | |
| | | import org.springframework.beans.factory.annotation.Autowired;
|
| | | import org.springframework.scheduling.annotation.Async;
|
| | | import org.springframework.stereotype.Service;
|
| | | import com.ruoyi.common.core.constant.SecurityConstants;
|
| | | import com.ruoyi.system.api.RemoteLogService;
|
| | | import com.ruoyi.system.api.domain.SysOperLog;
|
| | |
|
| | |
| | | * 保存系统日志记录
|
| | | */
|
| | | @Async
|
| | | public void saveSysLog(SysOperLog sysOperLog)
|
| | | {
|
| | | remoteLogService.saveLog(sysOperLog);
|
| | | public void saveSysLog(SysOperLog sysOperLog) throws Exception {
|
| | | remoteLogService.saveLog(sysOperLog, SecurityConstants.INNER);
|
| | | }
|
| | | }
|