diff --git a/common/utils/requset.js b/common/utils/requset.js index f04e1c7..11e01d4 100644 --- a/common/utils/requset.js +++ b/common/utils/requset.js @@ -2,7 +2,7 @@ * @Author: ch * @Date: 2022-03-17 17:42:32 * @LastEditors: ch - * @LastEditTime: 2022-04-29 18:11:28 + * @LastEditTime: 2022-04-29 20:19:22 * @Description: 项目接口请求统一处理器,返回一个需要token和不需要token的请求封装方法 */ diff --git a/common/utils/websocket.js b/common/utils/websocket.js index 9dec985..71b1710 100644 --- a/common/utils/websocket.js +++ b/common/utils/websocket.js @@ -2,7 +2,7 @@ * @Author: ch * @Date: 2022-04-25 14:39:19 * @LastEditors: ch - * @LastEditTime: 2022-04-28 23:33:33 + * @LastEditTime: 2022-04-29 20:19:36 * @Description: file content */ import store from "../store"; @@ -87,7 +87,7 @@ export let MsbWebSkt = null; export const MsbWebSktInit = () => { return new Promise((resolve, reject) => { MsbWebSkt = uni.connectSocket({ - url : `ws://192.168.10.92:8090/ws?client=${store.state.token}`, // url是websocket连接ip + url : `ws://you-gateway.mashibing.com/ws?client=${store.state.token}`, // url是websocket连接ip fail: e => { reject(e) } diff --git a/h5/index.html b/h5/index.html index a56a981..e6a713d 100644 --- a/h5/index.html +++ b/h5/index.html @@ -1,2 +1,2 @@