diff --git a/src/main.js b/src/main.js index b1d508f..cb91536 100644 --- a/src/main.js +++ b/src/main.js @@ -26,5 +26,5 @@ app.$mount() import http from "@/request/index.js" Vue.prototype.http=http -// Vue.prototype.socketUrl = "ws://10.0.0.5:8080/webSocket" -Vue.prototype.socketUrl = "ws://yxx.ydool.net/webSocket" \ No newline at end of file +Vue.prototype.socketUrl = "ws://61.130.44.231/webSocket" +// Vue.prototype.socketUrl = "ws://yxx.ydool.net/webSocket" \ No newline at end of file diff --git a/src/request/interface.js b/src/request/interface.js index 39151d0..b3e86bf 100644 --- a/src/request/interface.js +++ b/src/request/interface.js @@ -7,8 +7,8 @@ export default { config: { // baseUrl: "http://192.168.0.57:8080/h5/api", //王锡 // baseUrl: "/pre", //俞燕红-跨域 - // baseUrl: "http://10.0.0.36:8080/h5/api", //俞燕红 - baseUrl: "https://yxx.ydool.net/h5/api", //线上 + // baseUrl: "http://10.0.0.36:8080/h5/api", //俞燕红 s + baseUrl: "/h5/api", //俞燕红 header: { 'Content-Type': 'application/json;charset=UTF-8', // 'Content-Type':'application/x-www-form-urlencoded'