Commit 33a1c95e authored by zhengke's avatar zhengke

接口配置

parent 87077a2e
......@@ -66,7 +66,9 @@ const getErrorCode2text = (response: AxiosResponse): string => {
* service.get<{data: string; code: number}>('/test').then(({data}) => { console.log(data.code) })
*/
const service = Axios.create({
baseURL: process.env.VUE_APP_API_URL,//'http://reborn.oytour.com/api/common/post'
// process.env.VUE_APP_API_URL
//'http://reborn.oytour.com/api/common/post'
baseURL: 'http://reborn.oytour.com/api/common/post',
timeout: 20000,
headers: {
'User-Type': 'bus',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment