新增app用户和app角色
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -15,7 +15,7 @@ public interface UserType {
|
||||
int OFFICIAL = 1;
|
||||
|
||||
/**
|
||||
* 用户权限类型 0:超级管理员;1:管理员;2:用户
|
||||
* 用户权限类型 0:超级管理员;1:管理员;2:用户;3:APP用户
|
||||
*/
|
||||
int SUPER_ADMINISTRATOR = 0;
|
||||
|
||||
@@ -23,6 +23,8 @@ public interface UserType {
|
||||
|
||||
int USER = 2;
|
||||
|
||||
int APP = 3;
|
||||
|
||||
String SUPER_ADMIN = "root";
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user