|
|
@ -20,6 +20,7 @@ import org.aspectj.lang.annotation.Around; |
|
|
|
import org.aspectj.lang.annotation.Aspect; |
|
|
|
import org.aspectj.lang.annotation.Pointcut; |
|
|
|
import org.aspectj.lang.reflect.MethodSignature; |
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
import org.springframework.core.annotation.Order; |
|
|
|
import org.springframework.stereotype.Component; |
|
|
|
import org.springframework.web.context.request.RequestContextHolder; |
|
|
@ -42,7 +43,7 @@ import java.util.List; |
|
|
|
@Aspect |
|
|
|
@Component |
|
|
|
public class MustLoginAspect { |
|
|
|
@Resource |
|
|
|
@Autowired |
|
|
|
private UserDao userDao; |
|
|
|
|
|
|
|
@Pointcut("@annotation(com.ccsens.ptccsens.annotation.MustLogin)") |
|
|
|