Commit 99bf1b12 by huluobin

upload

parent 465dee8e
......@@ -84,10 +84,12 @@ public class LogAspect {
*/
@Around("point()")
public Object doAround(ProceedingJoinPoint joinPoint) throws Throwable {
//开始时间
long begin = System.currentTimeMillis();
//方法环绕proceed结果
Object obj = joinPoint.proceed();
try {
//开始时间
long begin = System.currentTimeMillis();
//结束时间
long end = System.currentTimeMillis();
//时间差
......@@ -122,6 +124,9 @@ public class LogAspect {
// logger.error("exception param:{}", paramsJson);
// }
}
} catch (Exception ignore) {
}
return obj;
}
......
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