admin
2020-05-19 744594ef1a2f530fc3e86ea9dc48b62247f79420
fanli/src/main/java/com/yeshi/fanli/aspect/AdminLoginAspect.java
@@ -35,7 +35,7 @@
   @Resource
   private AdminUserService adminUserService;
//   @Around("execution(public * com.yeshi.fanli.controller.admin..*.*(..))")
   @Around("execution(public * com.yeshi.fanli.controller.admin..*.*(..))")
   public Object verifyLoginState(ProceedingJoinPoint joinPoint) throws IOException {
      Signature signature = joinPoint.getSignature();
@@ -96,9 +96,9 @@
               HttpServletResponse response = servletContainer.getResponse();
               String callback = request.getParameter("callback");
               if (StringUtil.isNullOrEmpty(callback)) {
                  response.getWriter().print(JsonUtil.loadFalseResult(1, "请先登录"));
                  response.getWriter().print(JsonUtil.loadFalseResult(10001, "请先登录"));
               } else {
                  response.getWriter().print(callback + "(" + JsonUtil.loadFalseResult(1, "请先登录") + ")");
                  response.getWriter().print(callback + "(" + JsonUtil.loadFalseResult(10001, "请先登录") + ")");
               }
               return null;