Commit c607b4cca4da290d9fe2e302f2f4b720713fb358
1 parent
70a19e07
dy
Showing
2 changed files
with
2 additions
and
2 deletions
src/api/variables.js
src/utils/request.js
@@ -75,7 +75,7 @@ axios.interceptors.response.use(response => { | @@ -75,7 +75,7 @@ axios.interceptors.response.use(response => { | ||
75 | //基础url前缀 | 75 | //基础url前缀 |
76 | //axios.defaults.baseURL = '/api' | 76 | //axios.defaults.baseURL = '/api' |
77 | 77 | ||
78 | -axios.defaults.baseURL = 'http://bcp.service.renniting.cn/'; | 78 | +axios.defaults.baseURL = 'http://test.renniting.cn/bcp/'; |
79 | //axios.defaults.baseURL = 'http://test.renniting.cn/bcp/';//测试地址 | 79 | //axios.defaults.baseURL = 'http://test.renniting.cn/bcp/';//测试地址 |
80 | //设置默认请求头 | 80 | //设置默认请求头 |
81 | // axios.defaults.withCredentials=true;//让ajax携带cookie | 81 | // axios.defaults.withCredentials=true;//让ajax携带cookie |