var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
  for (var name in all)
    __defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
  if (from && typeof from === "object" || typeof from === "function") {
    for (let key of __getOwnPropNames(from))
      if (!__hasOwnProp.call(to, key) && key !== except)
        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
  }
  return to;
};
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);

// src/_util/axios/config.ts
var config_exports = {};
__export(config_exports, {
  ServerCode: () => ServerCode,
  ServerCodeMap: () => ServerCodeMap
});
module.exports = __toCommonJS(config_exports);
var ServerCode = {
  SUCCESS: 200,
  CACHE: 300,
  CONTINUE: 400,
  WRONG_PARAM: 401,
  WRONG_REQUEST: 402,
  FORBIDDEN: 403,
  WRONG_URL: 404,
  NO_LOGIN: 406,
  TIME_OUT: 408,
  WRONG_SERVER: 500,
  WRONG_REALIZE: 501,
  WRONG_GATEWAY: 502,
  BAD_SERVER: 503,
  GATEWAY_TIME_OUT: 504,
  WRONG_VERSION: 505
};
var ServerCodeMap = {
  [ServerCode.SUCCESS]: "成功",
  [ServerCode.CONTINUE]: "继续",
  [ServerCode.WRONG_PARAM]: "参数格式出错",
  [ServerCode.WRONG_REQUEST]: "请求出错",
  [ServerCode.FORBIDDEN]: "拒绝访问",
  [ServerCode.WRONG_URL]: "请求地址出错",
  [ServerCode.NO_LOGIN]: "未登录",
  [ServerCode.TIME_OUT]: "请求超时",
  [ServerCode.WRONG_SERVER]: "服务器内部错误",
  [ServerCode.WRONG_REALIZE]: "服务未实现",
  [ServerCode.WRONG_GATEWAY]: "网关错误",
  [ServerCode.BAD_SERVER]: "服务不可用",
  [ServerCode.GATEWAY_TIME_OUT]: "网关超时",
  [ServerCode.WRONG_VERSION]: "HTTP版本不受支持"
};
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
  ServerCode,
  ServerCodeMap
});
