From 0bd3125739c0d8bded4f7bd405fd99f1723df964 Mon Sep 17 00:00:00 2001 From: liurunyu <lry9898@163.com> Date: 星期五, 30 五月 2025 15:51:49 +0800 Subject: [PATCH] 不同服务器配置文件备份 --- pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/aop/LogAspect.java | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/aop/LogAspect.java b/pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/aop/LogAspect.java index 636e66c..1e3f594 100644 --- a/pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/aop/LogAspect.java +++ b/pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/aop/LogAspect.java @@ -62,9 +62,14 @@ // 鑾峰彇IP鍦板潃 String ip = getRemoteHost(); // 璁板綍鏃ュ織 - logSv.save(user.id,user.name, operationName,ip,result.getCode(),result.getMsg()); + //msg 鏂规硶鍚� + 鍙傛暟鍊� + 杩斿洖鍊� +// 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()); } }catch (Exception e){ + log.error(result.toString()); log.error("璁板綍鏃ュ織寮傚父:"+e.getMessage()); } } -- Gitblit v1.8.0