From 89e370bfdda29ac8a8f7080a18dc09a6ddc75c09 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期一, 26 十月 2020 18:42:16 +0800 Subject: [PATCH] 风行爱奇艺视频更新 --- src/main/java/com/yeshi/buwan/aspect/LogAspect.java | 26 -------------------------- 1 files changed, 0 insertions(+), 26 deletions(-) diff --git a/src/main/java/com/yeshi/buwan/aspect/LogAspect.java b/src/main/java/com/yeshi/buwan/aspect/LogAspect.java index b059b1e..e49f3a5 100644 --- a/src/main/java/com/yeshi/buwan/aspect/LogAspect.java +++ b/src/main/java/com/yeshi/buwan/aspect/LogAspect.java @@ -67,31 +67,5 @@ // Cache test = manager.getCache("testCache"); return obj; } - -// @Around("execution(public * com.yeshi.buwan.controller.admin.api.*.*(..))") -// public Object verifyLoginState(ProceedingJoinPoint joinPoint) { -// -// ServletWebRequest servletContainer = (ServletWebRequest)RequestContextHolder.getRequestAttributes(); -// -// HttpServletRequest request = servletContainer.getRequest(); -//// HttpServletRequest request = ((ServletRequestAttributes) RequestContextHolder.getRequestAttributes()).getRequest(); -// AdminInfo admin = (AdminInfo) request.getSession().getAttribute(Constant.ADMIN); -// System.out.println("濮濓絽婀Λ锟界ゴ閺勵垰鎯侀惂濠氭..."); -// if(admin==null){ -// String ip = IPUtil.getRemotIP(request); -// System.out.println("閸楅亶娅揑P::::"+ip); -// System.out.println("閺堫亞娅ラ梽锟�.."); -// return null; -// } -// System.out.println("瀹歌尙娅ラ梽锟�.."); -// Object[] args = joinPoint.getArgs(); -// Object obj = null; -// try { -// obj = joinPoint.proceed(args); -// } catch (Throwable e) { -// e.printStackTrace(); -// } -// return obj; -// } } -- Gitblit v1.8.0