namespace Znyc.Cloudcar.Admin.AspNetCore.Entitys
{
///
/// 错误代码描述
///
public static class ErrCode
{
///
/// 请求成功
///
public static string err0 = "请求成功";
///
/// 请求成功代码0
///
public static string successCode = "0";
///
/// 请求失败
///
public static string err1 = "请求失败";
///
/// 请求失败代码1
///
public static string failCode = "1";
///
/// 获取access_token时AppID或AppSecret错误。请开发者认真比对appid和AppSecret的正确性,或查看是否正在为恰当的应用调用接口
///
public static string err40001 =
"获取access_token时AppID或AppSecret错误。请开发者认真比对appid和AppSecret的正确性,或查看是否正在为恰当的应用调用接口";
///
/// 调用接口的服务器URL地址不正确,请联系供应商进行设置
///
public static string err40002 = "调用接口的服务器URL地址不正确,请联系供应商进行授权";
///
/// 请确保grant_type字段值为client_credential
///
public static string err40003 = "请确保grant_type字段值为client_credential";
///
/// 不合法的凭证类型
///
public static string err40004 = "不合法的凭证类型";
///
/// 用户令牌accesstoken超时失效
///
public static string err40005 = "用户令牌accesstoken超时失效";
///
/// 您未被授权使用该功能,请重新登录试试或联系管理员进行处理
///
public static string err40006 = "您未被授权使用该功能,请重新登录试试或联系系统管理员进行处理";
///
/// 传递参数出现错误
///
public static string err40007 = "传递参数出现错误";
///
/// 用户未登录或超时
///
public static string err40008 = "用户未登录或超时";
///
/// 程序异常
///
public static string err40110 = "程序异常";
///
/// 新增数据失败
///
public static string err43001 = "新增数据失败";
///
/// 更新数据失败
///
public static string err43002 = "更新数据失败";
///
/// 物理删除数据失败
///
public static string err43003 = "删除数据失败";
///
/// 该用户不存在
///
public static string err50001 = "该数据不存在";
///
/// 该用户已存在
///
public static string err50002 = "用户已存在,请登录或重新注册!";
///
/// 会员注册失败
///
public static string err50003 = "会员注册失败";
///
/// 查询数据不存在
///
public static string err60001 = "查询数据不存在";
}
}