/*
 * @Date: 2022-01-19 16:42:02
 * @LastEditors: JinxChen
 * @LastEditTime: 2022-01-19 16:43:19
 * @FilePath: \alipay-scan-code-front-end\src\http\request.js
 * @description: 封装axios
 */

import axios from 'axios';
const httpRequestUrl =  process.env.VUE_APP_BASE_API;

// create an axios instance  axios.create创建一个实例
const service = axios.create({
    baseURL: httpRequestUrl,
    /* baseURL: '172.16.255.35:8989', */
    // timeout: 5000 // request timeout
});



export default service;
