Commit 91ef5397 authored by jiaorz's avatar jiaorz

Merge branch 'master-log-test' into dev

parents 79b32c6d 0f895997
...@@ -57,6 +57,7 @@ public class XxLogInterceptor{ ...@@ -57,6 +57,7 @@ public class XxLogInterceptor{
try{ try{
//###################上面代码为方法执行前##################### //###################上面代码为方法执行前#####################
result = pjp.proceed();//执行方法,获取返回参数 result = pjp.proceed();//执行方法,获取返回参数
log.info("接口调用返回:{}", xxLogEntity.toString());
//###################下面代码为方法执行后##################### //###################下面代码为方法执行后#####################
if(result instanceof JSONObject) { if(result instanceof JSONObject) {
commonLogService.initCommonLogLastPart(xxLogEntity, ((JSONObject) result).toJSONString()); commonLogService.initCommonLogLastPart(xxLogEntity, ((JSONObject) result).toJSONString());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment