增加技师端---用户端 聊天界面

This commit is contained in:
贾祥聪
2025-08-21 16:38:20 +08:00
parent 9f85cf458a
commit 2935d32d68
454 changed files with 248 additions and 237 deletions

View File

@@ -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}/`;

View File

@@ -1,6 +1,6 @@
{
"name" : "按摩到家php",
"appid" : "__UNI__1FC79BE",
"name" : "按摩到家",
"appid" : "__UNI__564D846",
"description" : "",
"versionName" : "1.3.9",
"versionCode" : "100",

View File

@@ -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连接成功')