fix 修复 主线程先虚拟线程关闭导致无法获取request问题

This commit is contained in:
疯狂的狮子Li
2026-07-31 12:03:25 +08:00
parent 41ea764a8c
commit c76212003c
4 changed files with 30 additions and 12 deletions
@@ -1,6 +1,5 @@
package org.dromara.common.log.event;
import jakarta.servlet.http.HttpServletRequest;
import lombok.Data;
import java.io.Serial;
@@ -34,9 +33,19 @@ public class LoginInfoEvent implements Serializable {
private String message;
/**
* 请求体
* 客户端IP
*/
private HttpServletRequest request;
private String ip;
/**
* 用户代理
*/
private String userAgent;
/**
* 客户端标识
*/
private String clientId;
/**
* 其他参数