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