|
@@ -2,7 +2,7 @@ import axios from 'axios'
|
|
|
|
|
|
|
|
// 创建axios实例
|
|
// 创建axios实例
|
|
|
const service = axios.create({
|
|
const service = axios.create({
|
|
|
- baseURL: 'http://127.0.0.1:8080',
|
|
|
|
|
|
|
+ baseURL: 'https://dev.nexthuman.cn/fara/api',
|
|
|
withCredentials: false, // 跨域请求时是否需要使用凭证
|
|
withCredentials: false, // 跨域请求时是否需要使用凭证
|
|
|
headers: {
|
|
headers: {
|
|
|
Accept: 'application/json',
|
|
Accept: 'application/json',
|