1. 增加 API 访问日志、异常日志表

2. 调整过滤器的顺序
This commit is contained in:
YunaiV
2021-02-26 01:07:57 +08:00
parent fe94e4590a
commit 70af2bc78c
15 changed files with 364 additions and 112 deletions

View File

@@ -0,0 +1,25 @@
package cn.iocoder.dashboard.common.enums;
import lombok.AllArgsConstructor;
import lombok.Getter;
/**
* 全局用户类型枚举
*/
@AllArgsConstructor
@Getter
public enum UserTypeEnum {
MEMBER(1, "会员"), // 面向 c 端,普通用户
ADMIN(2, "管理员"); // 面向 b 端,管理后台
/**
* 类型
*/
private final Integer value;
/**
* 类型名
*/
private final String name;
}