41 lines
554 B
Java
41 lines
554 B
Java
|
package com.greenorange.promotion.constant;
|
|||
|
|
|||
|
/**
|
|||
|
* 用户常量
|
|||
|
*/
|
|||
|
@SuppressWarnings("all")
|
|||
|
public interface UserConstant {
|
|||
|
|
|||
|
/**
|
|||
|
* 盐值,混淆密码
|
|||
|
*/
|
|||
|
String SALT = "qingcheng";
|
|||
|
|
|||
|
/**
|
|||
|
* 用户默认头像
|
|||
|
*/
|
|||
|
String USER_DEFAULT_AVATAR = "";
|
|||
|
|
|||
|
|
|||
|
/**
|
|||
|
* 默认角色
|
|||
|
*/
|
|||
|
String DEFAULT_ROLE = "user";
|
|||
|
|
|||
|
/**
|
|||
|
* 管理员角色
|
|||
|
*/
|
|||
|
String ADMIN_ROLE = "admin";
|
|||
|
|
|||
|
/**
|
|||
|
* Boss
|
|||
|
*/
|
|||
|
String BOSS_ROLE = "boss";
|
|||
|
|
|||
|
/**
|
|||
|
* 被封号
|
|||
|
*/
|
|||
|
String BAN_ROLE = "ban";
|
|||
|
|
|||
|
}
|