fix:客服上传图片及接受问题修复

This commit is contained in:
李伊帆
2026-10-20 14:35:39 +08:00
parent 4b93b50e50
commit 83a1e961ea
24 changed files with 937 additions and 652 deletions

View File

@@ -10,6 +10,12 @@ VITE_API_PROXY_TARGET=http://192.168.0.222:8082
# 消息推送 WebSocket(不含 token,连接时自动拼接 ?token=)
VITE_MESSAGE_WS_URL=ws://192.168.0.222:8082/app/ws/message
# 客服图片上传等 CS 服务地址(若与主 API 不同,如上传在 212、主接口在 222)
# VITE_CS_API_BASE_URL=http://192.168.0.212:8082
# 文件上传 clientId(与 Postman /app/cs/upload 一致,默认 app)
# VITE_UPLOAD_CLIENT_ID=app
# 在线客服 WebSocket(App/小程序直连;H5 开发默认走 Vite 代理,可不配此项)
# VITE_CS_CHAT_WS_URL=ws://192.168.0.222:8082/app/cs/chat
# H5 仍要直连内网 IP 时设为 true(如客服 WS 只在 212 上)