admin
2021-11-19 7511509c68bd2892aad48a0612d497387660214d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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;
}