|
|
@ -56,7 +56,7 @@ public class LogAspect {
|
|
|
|
* 处理请求前执行
|
|
|
|
* 处理请求前执行
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@Before(value = "@annotation(controllerLog)")
|
|
|
|
@Before(value = "@annotation(controllerLog)")
|
|
|
|
public void boBefore(JoinPoint joinPoint, Log controllerLog) {
|
|
|
|
public void doBefore(JoinPoint joinPoint, Log controllerLog) {
|
|
|
|
StopWatch stopWatch = new StopWatch();
|
|
|
|
StopWatch stopWatch = new StopWatch();
|
|
|
|
KEY_CACHE.set(stopWatch);
|
|
|
|
KEY_CACHE.set(stopWatch);
|
|
|
|
stopWatch.start();
|
|
|
|
stopWatch.start();
|
|
|
|