style: 修改报错信息中文样式
This commit is contained in:
@@ -12,8 +12,8 @@ namespace Yi.Furion.Core.Bbs.Consts
|
||||
|
||||
public class ArticleConst
|
||||
{
|
||||
public const string 文章不存在 = "传入的文章id不存在";
|
||||
public const string No_Exist = "传入的文章id不存在";
|
||||
|
||||
public const string 文章无权限 = "该文章无权限";
|
||||
public const string No_Permission = "该文章无权限";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -12,8 +12,8 @@ namespace Yi.Furion.Core.Bbs.Consts
|
||||
|
||||
public class DiscussConst
|
||||
{
|
||||
public const string 主题不存在 = "传入的主题id不存在";
|
||||
public const string No_Exist = "传入的主题id不存在";
|
||||
|
||||
public const string 私密 = "【私密】您无该主题权限,可联系作者申请开放";
|
||||
public const string Privacy = "【私密】您无该主题权限,可联系作者申请开放";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -12,6 +12,6 @@ namespace Yi.Furion.Core.Bbs.Consts
|
||||
|
||||
public class PlateConst
|
||||
{
|
||||
public const string 板块不存在 = "传入的板块id不存在";
|
||||
public const string No_Exist = "传入的板块id不存在";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -50,7 +50,7 @@ namespace Yi.Furion.Core.Bbs.Dtos.Discuss
|
||||
|
||||
public void SetBan()
|
||||
{
|
||||
this.Title = DiscussConst.˽<EFBFBD><EFBFBD>;
|
||||
this.Title = DiscussConst.Privacy;
|
||||
this.Introduction = "";
|
||||
this.Cover = null;
|
||||
//<2F><><EFBFBD><EFBFBD>ֹ
|
||||
|
||||
@@ -12,12 +12,12 @@ namespace Yi.Furion.Core.Rbac.Consts
|
||||
|
||||
public class UserConst
|
||||
{
|
||||
public const string 登录失败_错误 = "登录失败!用户名或密码错误!";
|
||||
public const string 登录失败_不存在 = "登录失败!用户名不存在!";
|
||||
public const string 添加失败_密码为空 = "密码为空,添加失败!";
|
||||
public const string 添加失败_用户存在 = "用户已经存在,添加失败!";
|
||||
public const string 用户无权限分配 = "登录禁用!该用户分配无任何权限,无意义登录!";
|
||||
public const string 用户无角色分配 = "登录禁用!该用户分配无任何角色,无意义登录!";
|
||||
public const string Login_Error = "登录失败!用户名或密码错误!";
|
||||
public const string Login_User_No_Exist = "登录失败!用户名不存在!";
|
||||
public const string Login_Passworld_Error = "密码为空,添加失败!";
|
||||
public const string User_Exist = "用户已经存在,添加失败!";
|
||||
public const string No_Permission = "登录禁用!该用户分配无任何权限,无意义登录!";
|
||||
public const string No_Role = "登录禁用!该用户分配无任何角色,无意义登录!";
|
||||
|
||||
public const string Admin = "cc";
|
||||
public const string AdminRolesCode = "admin";
|
||||
|
||||
Reference in New Issue
Block a user