"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;

var _umiRequest = require("umi-request");

var request = (0, _umiRequest.extend)({
  prefix: '/apisix/admin',
  timeout: 1000,
  headers: {
    Authorization: localStorage.getItem('token') || ''
  }
});
var _default = request;
exports.default = _default;