You've already forked FrameTour-BE
支持用户切换景区账号,单账号多景区权限
This commit is contained in:
13
src/main/java/com/ycwl/basic/constant/JwtRoleConstant.java
Normal file
13
src/main/java/com/ycwl/basic/constant/JwtRoleConstant.java
Normal file
@@ -0,0 +1,13 @@
|
||||
package com.ycwl.basic.constant;
|
||||
|
||||
public enum JwtRoleConstant {
|
||||
MERCHANT("merchant"),
|
||||
ADMIN("admin"),
|
||||
APP_USER("app_user");
|
||||
|
||||
public final String type;
|
||||
|
||||
JwtRoleConstant(String type) {
|
||||
this.type = type;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user