|
@@ -69,7 +69,7 @@ const store = new Vuex.Store({
|
|
|
let userInfo = state.vuex_userData
|
|
|
let url = getApp().globalData.baseUrl
|
|
|
let wsBaseUrl = url.indexOf("https:")>=0 ? url.replace("https:","wss:") : url.replace("http:","ws:")
|
|
|
- let wsUrl = wsBaseUrl + 'websocket'
|
|
|
+ let wsUrl = wsBaseUrl + 'websocket/16546'
|
|
|
// 开始连接
|
|
|
state.vuex_socket = uni.connectSocket({
|
|
|
url: wsUrl, // ws 请求地址
|