feat: 角色权限模块
This commit is contained in:
@@ -58,5 +58,24 @@
|
||||
<artifactId>commons-lang3</artifactId>
|
||||
<version>3.11</version>
|
||||
</dependency>
|
||||
|
||||
<!-- Sa-Token 权限认证,在线文档:https://sa-token.cc -->
|
||||
<dependency>
|
||||
<groupId>cn.dev33</groupId>
|
||||
<artifactId>sa-token-spring-boot-starter</artifactId>
|
||||
<version>1.37.0</version>
|
||||
</dependency>
|
||||
<!-- Sa-Token 整合 Redis (使用 jackson 序列化方式) -->
|
||||
<dependency>
|
||||
<groupId>cn.dev33</groupId>
|
||||
<artifactId>sa-token-redis-jackson</artifactId>
|
||||
<version>1.37.0</version>
|
||||
</dependency>
|
||||
<!-- 提供Redis连接池 -->
|
||||
<dependency>
|
||||
<groupId>org.apache.commons</groupId>
|
||||
<artifactId>commons-pool2</artifactId>
|
||||
<version>2.9.0</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
||||
|
@@ -4,7 +4,6 @@ package com.landaiqing.auth.common.entity;
|
||||
* 分页请求实体
|
||||
*
|
||||
* @author: landaiqing
|
||||
* @date: 2023/10/5
|
||||
*/
|
||||
public class PageInfo {
|
||||
|
||||
|
@@ -10,7 +10,6 @@ import java.util.List;
|
||||
* 分页返回实体
|
||||
*
|
||||
* @author: landaiqing
|
||||
* @date: 2023/10/5
|
||||
*/
|
||||
@Data
|
||||
public class PageResult<T> implements Serializable {
|
||||
|
@@ -6,7 +6,6 @@ import lombok.Getter;
|
||||
* 用户状态枚举
|
||||
*
|
||||
* @author: landaiqing
|
||||
* @date: 2023/10/3
|
||||
*/
|
||||
@Getter
|
||||
public enum AuthUserStatusEnum {
|
||||
|
@@ -6,7 +6,6 @@ import lombok.Getter;
|
||||
* 删除状态枚举
|
||||
*
|
||||
* @author: landaiqing
|
||||
* @date: 2023/10/3
|
||||
*/
|
||||
@Getter
|
||||
public enum IsDeletedFlagEnum {
|
||||
|
Reference in New Issue
Block a user