Pārlūkot izejas kodu

服务端接口

zaijin 3 gadi atpakaļ
vecāks
revīzija
fc1314991f
2 mainītis faili ar 2 papildinājumiem un 3 dzēšanām
  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 = {
-	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';
 import store from '@/store/index.js'
 
-// let baseUrl = config.baseUrl
-let baseUrl = '/api'
+let baseUrl = config.baseUrl
 
 // vm指向this
 const install = (Vue, vm) => {