|
@@ -221,7 +221,7 @@ export default {
|
|
// const wsuri = `ws://192.168.2.216:8866/websocket/${userId}`
|
|
// const wsuri = `ws://192.168.2.216:8866/websocket/${userId}`
|
|
// const wsuri = `ws://192.168.2.247:8866/websocket/${userId}`
|
|
// const wsuri = `ws://192.168.2.247:8866/websocket/${userId}`
|
|
// WebSocket与普通的请求所用协议有所不同,ws等同于http,wss等同于https
|
|
// WebSocket与普通的请求所用协议有所不同,ws等同于http,wss等同于https
|
|
- var userId = 'e9ca23d68d884d4ebb19d07889727dae';
|
|
|
|
|
|
+ var userId = 'e9ca23d68d884d4ebb19d07889727dae'; // 免登录使用
|
|
if (store && store.getters && store.getters.userInfo && store.getters.userInfo.id) {
|
|
if (store && store.getters && store.getters.userInfo && store.getters.userInfo.id) {
|
|
userId=store.getters.userInfo.id;
|
|
userId=store.getters.userInfo.id;
|
|
}
|
|
}
|