whyclxw
2025-03-25 a7fef2846505b08e0711345b17902e7381612d23
src/main/java/com/whyc/aop/OperationLogAspect.java
@@ -72,7 +72,6 @@
                type1 = OperationLogEnum.TYPE_1_SYS.getType();
                type2 = OperationLogEnum.TYPE_2_USER_ADD.getType();
                operationTypeName = OperationLogEnum.TYPE_2_USER_ADD.getName();
            }else if(methodName.contains("update")){ //用户修改
                type1 = OperationLogEnum.TYPE_1_SYS.getType();
                type2 = OperationLogEnum.TYPE_2_USER_UPDATE.getType();
@@ -178,6 +177,10 @@
        }
        String operationMsg = "执行了" + className + "的" + operationTypeName + "操作.";
        String operationDetail = "具体调用方法为:" + methodName + ",具体参数为:" + map.toString();
        if(className.contains("Face")){
            operationDetail="具体调用方法为:" + methodName + ",具体参数为省略";
        }
        service.record(type1, type2, operationMsg, operationDetail);