From 7becc97c5bfdd827b9a999c26746bb8e8bc3e25c Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期六, 13 三月 2021 16:23:36 +0800 Subject: [PATCH] 后台会员/会员订单查询,搜索结果高清标签添加, --- src/main/java/com/yeshi/buwan/aspect/LoginAspect.java | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/yeshi/buwan/aspect/LoginAspect.java b/src/main/java/com/yeshi/buwan/aspect/LoginAspect.java index 3b8b970..8b575a1 100644 --- a/src/main/java/com/yeshi/buwan/aspect/LoginAspect.java +++ b/src/main/java/com/yeshi/buwan/aspect/LoginAspect.java @@ -25,10 +25,10 @@ ServletRequestAttributes servletContainer = (ServletRequestAttributes)RequestContextHolder.getRequestAttributes(); HttpServletRequest request = servletContainer.getRequest(); -// AdminInfo admin = (AdminInfo) request.getSession().getAttribute(Constant.ADMIN); -// if(admin==null){ -// return null; -// } + AdminInfo admin = (AdminInfo) request.getSession().getAttribute(Constant.ADMIN); + if(admin==null){ + return null; + } Object[] args = joinPoint.getArgs(); Object obj = null; try { -- Gitblit v1.8.0