chore: 日志移除 method 字段

This commit is contained in:
ray committed 2024-06-29 18:58:53 +08:00
1 parent b3f2c9ff7c
commit 921479c3c3
4 files changed
-9

No files matched your search

@@ -38,11 +38,6 @@ public class SysLog implements Serializable {
*/
private String requestUri;
/**
* 请求方法
*/
private String method;
/**
* IP 地址
*/
@@ -80,8 +80,6 @@ public class LogAspect {
}
}
log.setExecutionTime(executionTime);
// 方法名
log.setMethod(joinPoint.getSignature().getDeclaringTypeName() + "." + joinPoint.getSignature().getName());
// 获取浏览器和终端系统信息
String userAgentString = request.getHeader("User-Agent");
UserAgent userAgent = UserAgentUtil.parse(userAgentString);