增加技师端---用户端 聊天界面
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { isDevMode } from "@/utils/env";
|
||||
const envBaseUrl = import.meta.env.VITE_APP_BASE_URL || "http://anmo.com";
|
||||
const envBaseUrl = import.meta.env.VITE_APP_BASE_URL || "";
|
||||
|
||||
let baseUrl = `${envBaseUrl}/`;
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name" : "按摩到家php",
|
||||
"appid" : "__UNI__1FC79BE",
|
||||
"name" : "按摩到家",
|
||||
"appid" : "__UNI__564D846",
|
||||
"description" : "",
|
||||
"versionName" : "1.3.9",
|
||||
"versionCode" : "100",
|
||||
|
||||
@@ -281,7 +281,7 @@ const initWebSocket = () => {
|
||||
const userId = userStore.userInfo.id
|
||||
const userType = 1 // 用户
|
||||
|
||||
ws.value = new WebSocket(`ws://anmo.com:9501?token=${token}&type=${userType}`)
|
||||
ws.value = new WebSocket(`ws://laowoanmo.heibaokeji.com:9501?token=${token}&type=${userType}`)
|
||||
|
||||
ws.value.onopen = () => {
|
||||
console.log('WebSocket连接成功')
|
||||
|
||||
Reference in New Issue
Block a user