fix 修改日志记录事件租户id未提前注入bug

2.X
Yjoioooo 2023-05-05 14:06:32 +08:00
parent 05cdf0916a
commit faaaabcf4b
1 changed files with 1 additions and 0 deletions

View File

@ -67,6 +67,7 @@ public class LogAspect {
try { try {
// *========数据库日志=========*// // *========数据库日志=========*//
OperLogEvent operLog = new OperLogEvent(); OperLogEvent operLog = new OperLogEvent();
operLog.setTenantId(LoginHelper.getTenantId());
operLog.setStatus(BusinessStatus.SUCCESS.ordinal()); operLog.setStatus(BusinessStatus.SUCCESS.ordinal());
// 请求的地址 // 请求的地址
String ip = ServletUtils.getClientIP(); String ip = ServletUtils.getClientIP();