提交 | 用户 | 时间 | ||
71e81e | 1 | package cn.stylefeng.guns.base.auth.context; |
懒 | 2 | |
3 | import cn.stylefeng.roses.core.util.SpringContextHolder; | |
4 | ||
5 | /** | |
6 | * 当前登录用户信息获取的接口 | |
7 | * | |
8 | * @author fengshuonan | |
9 | * @Date 2019/7/18 22:27 | |
10 | */ | |
11 | public class LoginContextHolder { | |
12 | ||
13 | public static LoginContext getContext() { | |
14 | return SpringContextHolder.getBean(LoginContext.class); | |
15 | } | |
16 | ||
17 | } |