package com.kidgrow.common.base; import java.io.Serializable; /** * 石家庄喜高科技有限责任公司 版权所有 © Copyright 2020
* * @Description:
* @Project:
* @CreateDate: Created in 2020/2/3 17:01
* @Author: liuke */ public class ResponseCode implements Serializable { private static final long serialVersionUID = -7937625711106700213L; /** * 请求成功code码 */ final public static int SUCCESS = 0; /** * 请求错误code码 */ final public static int FAIL = -1; /** * 参数验证失败 表单验证 */ final public static int PARAMS_VALID = -2; /** * 服务器异常code码 */ final public static int ERROR = 1; /** * 社交账号未绑定 */ final public static int SOCIAL_NOT_BIND = 98; /** * fallBack */ final public static int FALLBACK = 9999999; /** * 无token或token无效 */ final public static int ERROR_TOKEN = 99; /** * 签名错误 */ final public static int ERROR_SIGN = 100001; /** * apiCode错误 */ final public static int ERROR_APICODE = 100002; /** * appId错误 */ final public static int ERROR_APPID = 100003; /** * 时间戳错误 */ final public static int ERROR_TIMESTAMP = 100004; /** * 版本错误 */ final public static int ERROR_VERSION = 100006; /** * 请求参数错误 */ final public static int ERROR_PARAMS = 100005; /** * 缺少访问权限或权限不足 Permission denied; */ final public static int PERMISSION_DENIED = 100007; /** * 用户认证失败 */ final public static int AUTHENTICATION_DENIED = 100008; /** * 密码错误 */ final public static int PASSWORD_ERROR = 100009; /** * 数据已存在重复 */ final public static int DATA_EXIST_ERROR = 100010; /** * 暂无更新 */ final public static int NOT_UPDATE = 100011; /** * 用户认证国企 */ final public static int AUTHENTICATION_EXPIRED = 100012; /** * 记录不存在 */ public final static int RECORD_NOT_FOUND = 400; /** * 当天发送短信验证码超过次数 */ public final static int SMS_OVER_THE_LIMIT = 200099; /** * 发送短信间隔小于60秒错误提示码 */ public final static int SMS_TIME_LIMIT = 200089; /** * 验证码错误 */ public final static int ERROR_VERIFY_CODE = 95; /** * 验证码失效 */ public final static int EXPIRED_VERIFY_CODE = 94; /** * 支付系统业务异常 */ public final static int KIDGROW_PAY_ERROR_CODE = 60000; /** * 请求成功 */ final public static String SUCCESS_MSG = "SUCCESS"; final public static String FAIL_MSG = "FAIL"; final public static String ERROR_MSG = "网络异常"; final public static String ERROR_UNKNOWN_MSG = "未知错误"; final public static String PARAMS_VALID_MSG = "参数验证失败"; final public static String FALLBACK_MSG = "服务正忙,请稍候重试"; final public static String ERROR_SIGN_MSG = "签名错误"; final public static String ERROR_APICODE_MSG = "apiCode不能为空或错误"; final public static String ERROR_APPID_MSG = "appId不能为空错误"; final public static String ERROR_TIMESTAMP_MSG = "时间戳不能为空或错误"; final public static String ERROR_VERSION_MSG = "版本不能为空或错误"; final public static String ERROR_PARAMS_MSG = "请求参数不能为空或错误"; final public static String ERROR_TOKEN_MSG = "access_token不正确或缺少access_token"; final public static String PERMISSION_DENIED_MSG = "资源访问权限不足"; final public static String AUTHENTICATION_DENIED_MSG = "用户认证失败"; final public static String PASSWORD_ERROR_MSG = "用户密码错误"; final public static String COMMON_FAIL_MSG = "系统错误,请联系系统管理员"; final public static String DATA_ERROR_MSG = "数据错误"; final public static String USER_DISABLE_MSG = "用户已作废"; final public static String AUTHENTICATION_EXPIRED_MSG = "用户认证已过期"; public static final String RECORD_NOT_FOUND_MSG = "记录不存在"; /** *社交账号未绑定 */ final public static String SOCIAL_NOT_BIND_MSG = "社交账号未绑定任何平台账号"; }