liurunyu
8 天以前 0bd3125739c0d8bded4f7bd405fd99f1723df964
pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/aop/LogAspect.java
@@ -48,7 +48,6 @@
    @AfterReturning(pointcut = "@annotation(com.dy.pmsGlobal.aop.Log)", returning = "result")
    public void logAfterReturning(JoinPoint joinPoint, BaseResponse result) {
        log.error(result.toString());
        if(isDevStage != null && !isDevStage.trim().equals("") && isDevStage.trim().equalsIgnoreCase("true")){
            return;
        }
@@ -67,7 +66,7 @@
//                Stream.of(joinPoint.getArgs()).forEach(System.out::println);
//                String args = JSONObject.toJSONString(joinPoint.getArgs());
                //String args1 = Arrays.toString(joinPoint.getArgs());
                logSv.save(user.id,user.name, operationName,ip,result.getCode(),result.getMsg());
                logSv.save(user.id, user.name, operationName,ip, result.getCode(), result.getMsg());
            }
        }catch (Exception e){
            log.error(result.toString());