【新增】【优化】新建租户时,自动创建对应的管理员账号、角色等基础信息

This commit is contained in:
YunaiV
2022-02-20 23:59:23 +08:00
parent 6b6d676a6b
commit 2598c033a9
34 changed files with 425 additions and 64 deletions

View File

@ -104,10 +104,13 @@ public interface ErrorCodeConstants {
// ========== 租户信息 1002014000 ==========
ErrorCode TENANT_NOT_EXISTS = new ErrorCode(1002014000, "租户不存在");
ErrorCode TENANT_DISABLE = new ErrorCode(1002014001, "名字为【{}】的租户已被禁用");
ErrorCode TENANT_EXPIRE = new ErrorCode(1002014002, "名字为【{}】的租户已过期");
// ========== 租户套餐 1002015000 ==========
ErrorCode TENANT_PACKAGE_NOT_EXISTS = new ErrorCode(1002015000, "租户套餐不存在");
ErrorCode TENANT_PACKAGE_USED = new ErrorCode(1002015001, "租户正在使用该套餐,请给租户重新设置套餐后再尝试删除");
ErrorCode TENANT_PACKAGE_DISABLE = new ErrorCode(1002015002, "名字为【{}】的租户套餐已被禁用");
// ========== 错误码模块 1002016000 ==========
ErrorCode ERROR_CODE_NOT_EXISTS = new ErrorCode(1002016000, "错误码不存在");