From a1d7e81859f554f3a53680cc35f0f49bf1f77098 Mon Sep 17 00:00:00 2001
From: wwf <1971391498@qq.com>
Date: 星期四, 14 五月 2026 14:37:02 +0800
Subject: [PATCH] 导入项目
---
src/views/mall/promotion/kefu/components/tools/constants.ts | 17 +++++++++++++++++
1 files changed, 17 insertions(+), 0 deletions(-)
diff --git a/src/views/mall/promotion/kefu/components/tools/constants.ts b/src/views/mall/promotion/kefu/components/tools/constants.ts
new file mode 100644
index 0000000..750e7f5
--- /dev/null
+++ b/src/views/mall/promotion/kefu/components/tools/constants.ts
@@ -0,0 +1,17 @@
+// 瀹㈡湇娑堟伅绫诲瀷鏋氫妇绫�
+export const KeFuMessageContentTypeEnum = {
+ TEXT: 1, // 鏂囨湰娑堟伅
+ IMAGE: 2, // 鍥剧墖娑堟伅
+ VOICE: 3, // 璇煶娑堟伅
+ VIDEO: 4, // 瑙嗛娑堟伅
+ SYSTEM: 5, // 绯荤粺娑堟伅
+ // ========== 鍟嗗煄鐗规畩娑堟伅 ==========
+ PRODUCT: 10, // 鍟嗗搧娑堟伅
+ ORDER: 11 // 璁㈠崟娑堟伅"
+}
+
+// Promotion 鐨� WebSocket 娑堟伅绫诲瀷鏋氫妇绫�
+export const WebSocketMessageTypeConstants = {
+ KEFU_MESSAGE_TYPE: 'kefu_message_type', // 瀹㈡湇娑堟伅绫诲瀷
+ KEFU_MESSAGE_ADMIN_READ: 'kefu_message_read_status_change' // 瀹㈡湇娑堟伅绠$悊鍛樺凡璇�
+}
--
Gitblit v1.8.0