Commit 74e7ecce by stingys@163.com

test

parent 61de6d52
...@@ -10,7 +10,7 @@ let vConsole = new Vconsole() ...@@ -10,7 +10,7 @@ let vConsole = new Vconsole()
Vue.use(vConsole) Vue.use(vConsole)
// axios.defaults.baseURL = '/api' // axios.defaults.baseURL = '/api'
axios.defaults.baseURL = 'http://weapp.car.checheng.net/api/' // axios.defaults.baseURL = 'http://weapp.car.checheng.net/api/'
axios.defaults.headers['Content-Type'] = 'application/x-www-form-urlencoded' axios.defaults.headers['Content-Type'] = 'application/x-www-form-urlencoded'
Vue.config.productionTip = false Vue.config.productionTip = false
......
...@@ -84,7 +84,7 @@ export default { ...@@ -84,7 +84,7 @@ export default {
}, },
async getUserInfo(code, state) { async getUserInfo(code, state) {
const { data: res } = await this.$http.get( const { data: res } = await this.$http.get(
"main-customers/get-user-info", "https://collision.tiantiankaiche.com/api/main-customers/get-user-info",
{ {
params: { params: {
code, code,
......
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 sign in to comment