package com.frame.rv.config;

/**
 * Created by Amuse
 * Data:2018/12/19 0019
 * Desc:
 */

public interface RvFrameConstant {

    int HTTP_STATE_OTHER_LOGIN = 2003;//第三方登录未注册
    int HTTP_STATE_NOT_REGISTERED = 1003;//用户未注册
    int HTTP_STATE_USER_SP = 1002;//用户已存在
    int HTTP_STATE_SUCCESS = 200;//请求成功
    int HTTP_STATE_DATA_ALREADY_EXISTS = 1009;
    int HTTP_STATE_NOT_CHECKTOKEN = 10003;   //参数不能为空",
    int HTTP_STATE_DATA_NOT_CHECKTOKEN =10009; //"token无效",
    int HTTP_STATE_TOKEN_EXPIRED =40101;   //用户token异常
    int HTTP_STATE_TOKEN_EXPIRED_PASS =40001;   //用户token异常
    int HTTP_STATE_TOKEN_EXPIRED_PASS2 =40301;   //用户token异常
    /**
     * 请求错误类型
     */
    int ERROR_TYPE_NET = 1009;//网络已断开
    int ERROR_TYPE_TIME_OUR = 1002;//请求超时
    int ERROR_TYPE_HOST = 1003;//未发现指定服务器
    int ERROR_TYPE_URL = 1004;//url错误
    int ERROR_TYPE_EXCEPTION = 1005;//未知错误

    /**
     * im 请求
     */
    int HTTP_STATE_SUCCESS_IM = 1;//请求成功

}
