|
@@ -2,8 +2,8 @@ import axios from 'axios'
|
|
|
// import history from './history'
|
|
|
// import { getTokenInfo } from './storage'
|
|
|
// 请求基地址
|
|
|
-export const baseURL = process.env.NODE_ENV === "development" ? 'http://192.168.20.55:8032' : ''
|
|
|
-// export const baseURL = process.env.NODE_ENV === "development" ? 'https://hnbwg.4dage.com' : ''
|
|
|
+// export const baseURL = process.env.NODE_ENV === "development" ? 'http://192.168.20.55:8032' : ''
|
|
|
+export const baseURL = process.env.NODE_ENV === "development" ? 'https://hnbwg.4dage.com' : ''
|
|
|
|
|
|
// 创建 axios 实例
|
|
|
const http = axios.create({
|