1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
| package com.ltkj.tduck.constant;
|
| /**
| * @description: 响应状态码
| * @author: smalljop
| * @create: 2020-02-10 15:46
| **/
| public interface ResponseCodeConstants {
| /**
| * 接口成功
| */
| int SUCCESS = 200;
| /**
| * 接口失败 发生异常
| */
| int FAIL = 500;
|
| /**
| * 未登录
| */
| int UNAUTHORIZED = 401;
|
| /**
| * 需要验证的请求
| */
| int NEED_VERIFICATION = 416;
|
| /**
| * 找不到该请求
| */
| int NOT_FOUND = 404;
|
| /**
| * 非法签名
| */
| Integer SIGN_FAIL_CODE = 405;
|
| /**
| * 非法签名
| */
| String SIGN_FAIL_MSG = "非法访问,请检查请求信息";
|
|
| String VALIDATE_CODE_FAIL_MSG = "验证码验证失败";
| }
|
|