first commit

This commit is contained in:
2025-04-01 11:48:31 +08:00
commit fcebd8474e
49 changed files with 2804 additions and 0 deletions

View File

@ -0,0 +1,40 @@
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";
}