1 line
1.2 KiB
Plaintext
1 line
1.2 KiB
Plaintext
|
{"version":3,"file":"constants.js","sources":["../../../../../../../src/modules/mall/chat/util/constants.js"],"sourcesContent":["export const KeFuMessageContentTypeEnum = {\r\n TEXT: 1, // 文本消息\r\n IMAGE: 2, // 图片消息\r\n VOICE: 3, // 语音消息\r\n VIDEO: 4, // 视频消息\r\n SYSTEM: 5, // 系统消息\r\n // ========== 商城特殊消息 ==========\r\n PRODUCT: 10, // 商品消息\r\n ORDER: 11, // 订单消息\"\r\n}\r\nexport const UserTypeEnum = {\r\n MEMBER: 1, // 会员 面向 c 端,普通用户\r\n ADMIN: 2, // 管理员 面向 b 端,管理后台\r\n}\r\n// Promotion 的 WebSocket 消息类型枚举类\r\nexport const WebSocketMessageTypeConstants = {\r\n KEFU_MESSAGE_TYPE: 'kefu_message_type', // 客服消息类型\r\n KEFU_MESSAGE_ADMIN_READ: 'kefu_message_read_status_change', // 客服消息管理员已读\r\n}\r\n"],"names":[],"mappings":";AAAY,MAAC,6BAA6B;AAAA,EACxC,MAAM;AAAA;AAAA,EACN,OAAO;AAAA;AAAA,EACP,OAAO;AAAA;AAAA,EACP,OAAO;AAAA;AAAA,EACP,QAAQ;AAAA;AAAA;AAAA,EAER,SAAS;AAAA;AAAA,EACT,OAAO;AAAA;AACT;AACY,MAAC,eAAe;AAAA,EAC1B,QAAQ;AAAA;AAAA,EACR,OAAO;AAAA;AACT;AAEY,MAAC,gCAAgC;AAAA,EAC3C,mBAAmB;AAAA;AAAA,EACnB,yBAAyB;AAAA;AAC3B;;;;"}
|