Commit 23d26043 by xinla

--no commit message

1 parent 4064a225
...@@ -19,3 +19,4 @@ velocity.log ...@@ -19,3 +19,4 @@ velocity.log
.DS_Store .DS_Store
logs logs
.m2 .m2
linkwe-taskMobile/dist/
const baseUrl = window.location.origin.includes('localhost') const baseUrl = window.location.origin.includes('localhost')
? window.location.origin ? window.location.origin
: 'http://demo.linkwechat.cn:8090' : 'http://demo.linkwechat.cn/prod-api'
// 'http://106.13.201.219' // 'http://106.13.201.219'
// const baseUrl = window.location.origin+'/mock/11' // const baseUrl = window.location.origin+'/mock/11'
// const baseUrl = 'http://47.112.117.15:40001/mock/11' // const baseUrl = 'http://47.112.117.15:40001/mock/11'
...@@ -25,7 +25,7 @@ const request = (url, params, method = 'get') => { ...@@ -25,7 +25,7 @@ const request = (url, params, method = 'get') => {
// console.log(err.status) // console.log(err.status)
alert(url + ',错误码:' + err.status) alert(url + ',错误码:' + err.status)
reject(err) reject(err)
} },
}) })
}) })
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!