/**
 * @file App constants/api
 * @description app/constants/api
 * @author Surmon <https://github.com/surmon-china>
 */

export const HTTP_SUCCESS = 200; // 成功
export const HTTP_CREATE_SUCCESS = 201; // 创建成功
export const NO_PERMISSION = 403; // 无权限
export const UNAUTHORIZED = 401; // 未授权
export const SERVER_ERROR = 500; // 服务器挂了
export const GATEWAY_TIMEOUT = 504; // 请求超时
export const UNKNOWN_ERROR = 0; // 未知
