瀏覽代碼

增加登录成功监听事件

master
WendyYang 1 年之前
父節點
當前提交
5bcc95492e
共有 1 個檔案被更改,包括 0 行新增5 行删除
  1. +0
    -5
      pmapi/src/main/java/com/ningdatech/pmapi/user/security/auth/model/WebRequestDetails.java

+ 0
- 5
pmapi/src/main/java/com/ningdatech/pmapi/user/security/auth/model/WebRequestDetails.java 查看文件

@@ -5,7 +5,6 @@ import cn.hutool.extra.servlet.ServletUtil;
import org.springframework.security.web.authentication.WebAuthenticationDetails;

import javax.servlet.http.HttpServletRequest;
import java.time.LocalDateTime;

/**
* <p>
@@ -47,10 +46,6 @@ public class WebRequestDetails extends WebAuthenticationDetails {
this.userAgent = StrUtil.sub(request.getHeader("user-agent"), 0, 500);
}

public LocalDateTime getRequestTime() {
return requestTime;
}

public String getRequestIp() {
return requestIp;
}


Loading…
取消
儲存