提交 | 用户 | 时间
|
71e81e
|
1 |
package cn.stylefeng.guns.config.security; |
懒 |
2 |
|
|
3 |
import cn.stylefeng.guns.base.auth.aop.PermissionAop; |
|
4 |
import org.springframework.context.annotation.Bean; |
|
5 |
import org.springframework.context.annotation.Configuration; |
|
6 |
|
|
7 |
/** |
|
8 |
* 资源过滤的aop |
|
9 |
* |
|
10 |
* @author fengshuonan |
|
11 |
* @Date 2019/7/20 17:55 |
|
12 |
*/ |
|
13 |
@Configuration |
|
14 |
public class PermissionAopConfig { |
|
15 |
|
|
16 |
/** |
|
17 |
* 资源过滤的aop |
|
18 |
* |
|
19 |
* @author fengshuonan |
|
20 |
* @Date 2019/7/21 10:12 |
|
21 |
*/ |
|
22 |
@Bean |
|
23 |
public PermissionAop permissionAop() { |
|
24 |
return new PermissionAop(); |
|
25 |
} |
|
26 |
|
|
27 |
} |