This commit is contained in:
yanps
2023-12-07 11:06:12 +08:00
parent 92548160ab
commit 450d076728
2 changed files with 4 additions and 3 deletions

View File

@@ -38,9 +38,6 @@ public class LokiLogAspect {
*/ */
@Around("operatorLog()") @Around("operatorLog()")
public Object around(ProceedingJoinPoint pjp) throws Throwable { public Object around(ProceedingJoinPoint pjp) throws Throwable {
// ServletRequestAttributes attributes = (ServletRequestAttributes) RequestContextHolder.getRequestAttributes();
// HttpServletRequest request = attributes.getRequest();
// HttpServletResponse response = attributes.getResponse();
Signature signature = pjp.getSignature(); Signature signature = pjp.getSignature();
MethodSignature methodSignature = (MethodSignature) signature; MethodSignature methodSignature = (MethodSignature) signature;

View File

@@ -6,9 +6,13 @@ package org.nl.acs.log;
* @Date: 2022/10/11 * @Date: 2022/10/11
*/ */
public enum LokiLogType { public enum LokiLogType {
// 默认
DEFAULT("默认"), DEFAULT("默认"),
// AGV接口日志
AGV("AGV接口日志"), AGV("AGV接口日志"),
// ACS请求LMS
ACS_TO_LMS("ACS请求LMS"), ACS_TO_LMS("ACS请求LMS"),
// ACS请求立库
ACS_TO_LK("ACS请求立库"); ACS_TO_LK("ACS请求立库");
private String desc; private String desc;