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

This commit is contained in:
Yjoioooo
2023-05-05 14:06:32 +08:00
parent 05cdf0916a
commit faaaabcf4b

View File

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