新增app用户和app角色

This commit is contained in:
2023-06-28 09:31:19 +08:00
parent b8ca417fbd
commit 19c590e83b
6 changed files with 15 additions and 5 deletions

View File

@@ -6,11 +6,13 @@ package com.njcn.user.pojo.constant;
public interface RoleType {
/**
* 角色类型 0超级管理员1管理员2用户
* 角色类型 0超级管理员1管理员2用户 3:APP角色
*/
int SUPER_ADMINISTRATOR = 0;
int ADMINISTRATOR = 1;
int USER = 2;
int APP = 3;
}

View File

@@ -15,7 +15,7 @@ public interface UserType {
int OFFICIAL = 1;
/**
* 用户权限类型 0超级管理员1管理员2用户
* 用户权限类型 0超级管理员1管理员2用户3APP用户
*/
int SUPER_ADMINISTRATOR = 0;
@@ -23,6 +23,8 @@ public interface UserType {
int USER = 2;
int APP = 3;
String SUPER_ADMIN = "root";
}