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

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" : "smam",
"appid" : "__UNI__F3A86A8",
"name" : "技师端",
"appid" : "__UNI__F484EDA",
"description" : "",
"versionName" : "1.3.9",
"versionCode" : "100",

View File

@@ -224,7 +224,7 @@ const initWebSocket = () => {
const userId = userStore.userInfo.id
const userType = 2 // 技师
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连接成功')