feat: 优化rbac结构
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
namespace Yi.Framework.Rbac.Domain.Shared.Consts;
|
||||
|
||||
public class ConfigConst
|
||||
{
|
||||
public const string Exist = "该配置已经存在";
|
||||
}
|
||||
@@ -12,5 +12,6 @@ namespace Yi.Framework.Rbac.Domain.Shared.Consts
|
||||
|
||||
public class DeptConst
|
||||
{
|
||||
public const string Exist = "该部门已经存在";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
namespace Yi.Framework.Rbac.Domain.Shared.Consts;
|
||||
|
||||
public class DictionaryConst
|
||||
{
|
||||
public const string Exist = "该字典已经存在";
|
||||
}
|
||||
@@ -12,5 +12,6 @@ namespace Yi.Framework.Rbac.Domain.Shared.Consts
|
||||
|
||||
public class MenuConst
|
||||
{
|
||||
public const string Exist = "该菜单已经存在";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -12,5 +12,6 @@ namespace Yi.Framework.Rbac.Domain.Shared.Consts
|
||||
|
||||
public class PostConst
|
||||
{
|
||||
public const string Exist = "该岗位已经存在";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -12,5 +12,6 @@ namespace Yi.Framework.Rbac.Domain.Shared.Consts
|
||||
|
||||
public class RoleConst
|
||||
{
|
||||
public const string Exist = "该角色已经存在";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -16,7 +16,7 @@ namespace Yi.Framework.Rbac.Domain.Shared.Consts
|
||||
public const string Login_User_No_Exist = "登录失败!用户名不存在!";
|
||||
public const string Login_Passworld_Error = "密码为空,添加失败!";
|
||||
public const string Create_Passworld_Error = "密码格式错误,长度需大于等于6位";
|
||||
public const string User_Exist = "用户已经存在,创建失败!";
|
||||
public const string Exist = "用户已经存在,创建失败!";
|
||||
public const string State_Is_State = "该用户已被禁用,请联系管理员进行恢复";
|
||||
public const string No_Permission = "登录禁用!该用户分配无任何权限,无意义登录!";
|
||||
public const string No_Role = "登录禁用!该用户分配无任何角色,无意义登录!";
|
||||
|
||||
Reference in New Issue
Block a user