新增getPrincipalProperty方法,用于前端及其他模块获取当前用户信息

This commit is contained in:
RuoYi
2019-05-15 10:45:12 +08:00
parent bddb502427
commit f96113d55d
7 changed files with 61 additions and 13 deletions

View File

@ -29,6 +29,12 @@
<artifactId>spring-web</artifactId>
</dependency>
<!--Shiro核心框架 -->
<dependency>
<groupId>org.apache.shiro</groupId>
<artifactId>shiro-core</artifactId>
</dependency>
<!-- pagehelper 分页插件 -->
<dependency>
<groupId>com.github.pagehelper</groupId>
@ -78,7 +84,7 @@
</dependency>
<!-- servlet包 -->
<dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
</dependency>