zhou zhou
昨天 50e95b985a72fcec4a93a2470e9efdfb2620148a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
const ApiStatus = Object.freeze({
  success: 200,
  error: 400,
  unauthorized: 401,
  forbidden: 403,
  notFound: 404,
  methodNotAllowed: 405,
  requestTimeout: 408,
  internalServerError: 500,
  notImplemented: 501,
  badGateway: 502,
  serviceUnavailable: 503,
  gatewayTimeout: 504,
  httpVersionNotSupported: 505
})
 
export { ApiStatus }