|
|
|
@ -1,6 +1,7 @@
|
|
|
|
|
package com.shxy.xymanager_framework.aspect;
|
|
|
|
|
|
|
|
|
|
import com.alibaba.fastjson.JSON;
|
|
|
|
|
import com.shxy.xymanager_common.util.JSONUtil;
|
|
|
|
|
import com.shxy.xymanager_common.util.ServletUtils;
|
|
|
|
|
import com.shxy.xymanager_common.annotation.Log;
|
|
|
|
|
import com.shxy.xymanager_common.bean.SysOperLog;
|
|
|
|
@ -93,7 +94,7 @@ public class LogAspect {
|
|
|
|
|
sysOperLog.setMethod(className + "." + methodName + "()");
|
|
|
|
|
// 处理设置注解上的参数
|
|
|
|
|
getControllerMethodDescription(joinPoint, controllerLog, sysOperLog, jsonResult);
|
|
|
|
|
log.info(sysOperLog.toString());
|
|
|
|
|
log.info(JSONUtil.object2Json(sysOperLog));
|
|
|
|
|
} catch (Exception exp) {
|
|
|
|
|
// 记录本地异常日志
|
|
|
|
|
log.error("==前置通知异常==");
|
|
|
|
|