chore: 日志移除 method 字段

This commit is contained in:
ray
2024-06-29 18:58:53 +08:00
parent b3f2c9ff7c
commit 921479c3c3
4 changed files with 0 additions and 9 deletions

View File

@@ -38,11 +38,6 @@ public class SysLog implements Serializable {
*/
private String requestUri;
/**
* 请求方法
*/
private String method;
/**
* IP 地址
*/

View File

@@ -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);