fix: log
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user