From 56481656c7de11cdca69c1a7dd69db176ffd9ecd Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期六, 08 五月 2021 12:49:30 +0800
Subject: [PATCH] 华为屏蔽金币任务中的看海量视频,新增广告平台概率控制

---
 src/main/java/com/yeshi/buwan/aspect/LoginAspect.java |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/src/main/java/com/yeshi/buwan/aspect/LoginAspect.java b/src/main/java/com/yeshi/buwan/aspect/LoginAspect.java
index b9d8b48..d294b97 100644
--- a/src/main/java/com/yeshi/buwan/aspect/LoginAspect.java
+++ b/src/main/java/com/yeshi/buwan/aspect/LoginAspect.java
@@ -20,12 +20,11 @@
 
 	
 	@Around("execution(public * com.yeshi.buwan.controller.admin.api.*.*(..))")
-	public Object verifyLoginState(ProceedingJoinPoint joinPoint) throws IOException {
+	public Object verifyLoginState(ProceedingJoinPoint joinPoint) throws Throwable {
 		
 		ServletRequestAttributes servletContainer = (ServletRequestAttributes)RequestContextHolder.getRequestAttributes();
 		
 		HttpServletRequest request = servletContainer.getRequest();
-//		HttpServletRequest request = ((ServletRequestAttributes) RequestContextHolder.getRequestAttributes()).getRequest();
 		AdminInfo admin = (AdminInfo) request.getSession().getAttribute(Constant.ADMIN);
 		if(admin==null){
 			return null;

--
Gitblit v1.8.0