Browse Source

更换美大域名地址

zhaoxiaohai 2 years ago
parent
commit
031c3b5d4b
2 changed files with 2 additions and 2 deletions
  1. 1 1
      app.js
  2. 1 1
      utils/Http.js

+ 1 - 1
app.js

@@ -7,7 +7,7 @@ App({
     initSocket() {
     initSocket() {
         let that = this;
         let that = this;
         this.globalData.SocketTask = wx.connectSocket({
         this.globalData.SocketTask = wx.connectSocket({
-            url: 'ws://121.37.152.76:8080/yos/webSocket/' + wx.getStorageSync('userMsg').token,
+            url: 'wss://meida.cnyunl.com/yos/webSocket/' + wx.getStorageSync('userMsg').token,
             complete: (res) => {
             complete: (res) => {
                 console.log(res)
                 console.log(res)
             }
             }

+ 1 - 1
utils/Http.js

@@ -1,4 +1,4 @@
-const baseUrl = "http://121.37.152.76:8080/yos/rest/index";
+const baseUrl = "https://meida.cnyunl.com/yos/rest/index";
 class HTTP {
 class HTTP {
     request({
     request({
         url,
         url,