update 优化 书写错误
parent
7c416a2dc8
commit
46c57c3a54
|
|
@ -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();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue