/*
 * @Author: 纪泽龙 jizelong@qq.com
 * @Date: 2023-05-25 10:37:11
 * @LastEditors: 纪泽龙 jizelong@qq.com
 * @LastEditTime: 2023-05-25 10:50:40
 * @FilePath: /city-wisdom/src/utils/reques1.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import axios from 'axios'
// import { Notification, MessageBox, Message } from 'element-ui'
// import store from '@/store'
// import { getToken } from '@/utils/auth'
// import errorCode from '@/utils/errorCode'

axios.defaults.headers['Content-Type'] = 'application/json;charset=utf-8'
// 创建axios实例
const service = axios.create({
  // axios中请求配置有baseURL选项，表示请求URL公共部分
  baseURL: '/api',
  // 超时
  timeout: 10000
})
export default service



