package com.mortals.xhx.common.key;

/**
 * 错误码
 * 
 * @author: zxfei
 * @date: 2022/5/12 14:56
 */
public interface ErrorCode {

    public static final int STATUS_MS_EXCEPTION = 500;
    public static final int STATUS_VALIDATE_EXCEPTION = 420;
    public static final int STATUS_UNCHECKED_EXCEPTION = 605;
    public static final int STATUS_TOKEN_NULL_EXCEPTION = 604;

    public static final int STATUS_CODE_SUCCESS = 0;
    public static final int STATUS_CODE_WARN = 1;
    public static final int STATUS_CODE_ERROR = 2;
    public static final int STATUS_CODE_INFO = 3;
    public static final int STATUS_CODE_TOKEN_EXPIRED = 4;
    public static final int STATUS_CODE_FATAL = 5;
    public static final int STATUS_CODE_TRADE_PWD_NOT_SET = 6;
    public static final int STATUS_ACCOUNT_LOCKED = 7;
    public static final int STATUS_TRADE_PWD_OVER_THREE_TIME = 8;
    public static final int STATUS_TRADE_PWD_ERROR = 9;
    public static final int STATUS_EMPTY_PWD_ERROR = 10;
    public static final int STATUS_TEL_NOT_RGI_ERROR = 11;
    public static final int STATUS_TEL_ALREADY_REGI = 12;
    public static final int STATUS_SAFETY_RISK = 13;
    public static final int STATUS_LOGIN_CODE = 15;
    public static final int BOOK_FAKUAN_CODE = 16;




    public static final String ERROR_TOKEN_EXPIRED = "登陆过期，请重新登录";
    public static final String ERROR_TRADE_PWD_OVER_THREE_TIME = "支付密码错误，请15分钟后再试";
    public static final String ERROR_TRADE_PWD_ERROR = "支付密码错误，请重试";
    public static final String ERROR_EMPTY_PWD_ERROR = "请设置登录密码";
    public static final String ERROR_TEL_NOT_RGI = "该号码未注册";
    public static final String ERROR_USERNAME_OR_PASSWORD = "用户名或者密码错误";
    public static final String ERROR_TRADE_PWD = "交易密码错误";
    public static final String ERROR_FORBIDDEN_OPER = "非法操作";
    public static final String ERROR_TRADE_PWD_NOT_SET = "非法操作";
    public static final String ERROR_NOT_REAL_NAME_AUTH = "您未实名认证，禁止该操作";
    public static final String ERROR_INTERNAL_SERVER_ERROR = "服务器内部错误";
    public static final String ERROR_UNAUTHORIZED = "token不正确或已过期";
    public static final String ERROR_TOKEN_IS_NULL = "token不能为空";
    public static final String ERROR_MISS_SERVLET = "服务不存在";
    public static final String ERROR_CAPTCHA_OFTEN = "验证码已发送";
    public static final String ERROR_CAPTCHA_WRONG = "验证码错误";
    public static final String ERROR_TEL_ALREADY_REGI = "该手机号已被注册";
    public static final String ERROR_CODE_DUPLICATE_KEY = "重复添加信息（含部分）";
    public static final String ERROR_NOT_EXITS = "对应记录不存在";
    public static final String ERROR_STATUS_CATEGORY = "状态错误";
    public static final String ERROR_FRIEND_SHIP_ALREADY = "已经是你好友";
    public static final String ERROR_FRIEND_SHIP_WAIT = "已向改好友发出邀请，等待接受";
    public static final String ERROR_CODE_ACCOUNT_LOCKED = "账号被锁定，请联系客服";
    public static final String WARN_ARGUMENT = "参数错误";
    public static final String ERROR_USERNAME_EXIST = "该号码已被注册";
    public static final String ERROR_SAFETY_RISK = "不在常用设备上登录";
    public static final String INFO_TEL_BIND = "手机号码已经被绑定";
    public static final String INFO_TEL_FORMAT_WRONG = "手机号码格式不正确";
    public static final String ERROR_NOT_FOUND = "404 not found";

    public static final String DISABLED="该账号已被封禁，如有疑问请联系平台";
    public static final String DATENULL="缺少参数";
    public static final String ERRDATE="无效参数";
    public static final String ERRSTAE="状态异常";
    public static final String EXTDATE="参数异常";
    public static final String NUMEXE="账号异常";
    public static final String CAPDON="资产已被冻结，如有疑问请联系平台";
    public static final String CONOTS="操作失败";
    public static final String OK="成功！";
    public static final String TOKENX="身份验证失败，请重新登录";
    public static final String CAPNOT="充值余额不足请充值";
    public static final String SYSNOT="系统繁忙，请稍后再试...";
    public static final String NOWER="没有权限";
    public static final String PAGEDATA="分页参数不能为空";
    public static final String CARADD_MEMBERS="该司机已有绑定车辆，不能绑定多个";

    public static final int DEVICE_CODE_IS_EMPTY = 1001;
    public static final String DEVICE_CODE_IS_EMPTY_CONTENT = "当前设备编码不存在！";

    public static final int DEVICE_CODE_IS_EXIST = 1002;
    public static final String DEVICE_CODE_IS_EXIST_CONTENT = "当前设备编码已存在！";

    public static final int PRODUCT_IS_EMPTY = 1003;
    public static final String PRODUCT_IS_EMPTY_CONTENT = "所属产品编码不存在！";

    public static final int DEVICE_UNACTIVE = 1004;
    public static final String DEVICE_UNACTIVE_CONTENT = "当前设备未激活，请在后台配置后再激活！";

    public static final int PLATFORM_IS_EMPTY = 1005;
    public static final String PLATFORM_IS_EMPTY_CONTENT = "当前设备编码不存在！";

    public static final int PLATFORM_UNEXIST = 1006;
    public static final String PLATFORM_UNEXIST_CONTENT = "当前设备所属产品平台未配置，请在后台配置后再激活！";


    public static final int SITEID_IS_EMPTY = 1007;
    public static final String SITEID_IS_EMPTY_CONTENT = "站点ID为空！";

}
