feat: add service order component

- add CreateServiceOrder component and associated icon assets
- create reusable resolveChatSocketUrl utility with comprehensive test cases
- update development env config to use production websocket endpoint
- fix ChatCardAi layout by replacing inline-block with flex-1 class
- refactor ChatMainList websocket initialization to use the new socket utility
- switch to using environment variable for access token instead of getAccessToken
- correct relative import path for CreateServiceOrder in ChatMainList
This commit is contained in:
DEV_DSW
2026-06-01 11:44:56 +08:00
parent 861ebf4fd7
commit b906058cdc
8 changed files with 99 additions and 20 deletions

View File

@@ -8,7 +8,7 @@ VITE_API_BASE_URL = '/ingress'
VITE_API_TIMEOUT_MS = 10000
# Socket 基础 URL
VITE_SOCKET_BASE_URL = "/ingress/agent/ws/chat"
VITE_SOCKET_BASE_URL = "wss://onefeel.brother7.cn/ingress/agent/ws/chat"
# Client ID
VITE_CLIENT_ID = "6"