|
@@ -4,7 +4,8 @@ import Store from '@/store'
|
|
|
export const webSocket = {
|
|
|
methods: {
|
|
|
connectWebSocket(userId) {
|
|
|
- let webSocket = new WebSocket(`ws://139.224.24.90:8871/permission/api/ws/` + userId)
|
|
|
+ // let webSocket = new WebSocket(`ws://139.224.24.90:8871/permission/api/ws/` + userId)
|
|
|
+ let webSocket = new WebSocket(`ws://139.224.24.90:8880/permission/api/ws/` + userId)
|
|
|
Store.commit('SET_WEB_SOCKET', webSocket)
|
|
|
webSocket.onopen = () => {
|
|
|
console.log('WebSocket连接成功')
|