Explorar el Código

服务端接口

zaijin hace 3 años
padre
commit
fc1314991f
Se han modificado 2 ficheros con 2 adiciones y 3 borrados
  1. 1 1
      common/config.js
  2. 1 2
      common/http.interceptor.js

+ 1 - 1
common/config.js

@@ -1,3 +1,3 @@
 export const config = {
 export const config = {
-	baseUrl: 'http://172.16.90.64:7000/'
+	baseUrl: 'https://wx.hw.hongweisoft.com/parking/'
 }
 }

+ 1 - 2
common/http.interceptor.js

@@ -3,8 +3,7 @@ import {
 } from '@/common/config.js';
 } from '@/common/config.js';
 import store from '@/store/index.js'
 import store from '@/store/index.js'
 
 
-// let baseUrl = config.baseUrl
-let baseUrl = '/api'
+let baseUrl = config.baseUrl
 
 
 // vm指向this
 // vm指向this
 const install = (Vue, vm) => {
 const install = (Vue, vm) => {