admin
2021-11-22 ec21251764082bebde0f68966332751c288d786c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package com.yeshi.location.app.utils;
 
/**
 * @author hxh
 * @title: ApiCodeConstant
 * @description: 接口请求的枚举值
 * @date 2021/11/16 17:53
 */
public class ApiCodeConstant {
    //客户端请求时间错误(误差超过10分钟)
    public final static int CODE_FAIL_OUT_TIME = -2;
    //签名错误
    public final static int CODE_FAIL_SIGN_ERROR = -1;
    //请求正确
    public final static int CODE_OK = 0;
    //用户被封禁
    public final static int CODE_FAIL_USER_FORBIDDEN = 80001;
    //服务器内部错误
    public final static int CODE_ERROR_IN_SERVER = 10001;
 
    //尚未登录
    public final static int CODE_FAIL_NOT_LOGIN = 101;
}