UNPKG
knk-react
Version:
latest (0.0.1)
0.0.1
react components based on react
ipr-fe.gitee.io/knk-react
knk-react
/
lib
/
common
/
status_code.js
20 lines
(18 loc)
•
336 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
'use strict'
;
//状态码
module
.
exports
= {
SUCCESS
:
200
,
//成功
FORBIDDEN
:
403
,
//无权限
NOT_FOUND
:
404
,
//无页面
ERROR
:
110
,
//可预期错误
API_ERROR
:
111
,
//API请求错误
API_DUBBO_ERROR
:
112
,
//API dubbo接口报错
UNKNOWN_ERROR
:
500
,
//未知错误
GETWAY_ERROR
:
502
//访问错误
};