You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
shop-app/common/dicts/im.js

35 lines
506 B

2 years ago
/*
* @Author: ch
* @Date: 2022-05-10 20:50:54
* @LastEditors: ch
* @LastEditTime: 2022-05-13 14:28:29
* @Description: file content
*/
const MSG_TYPE = {
// 文本消息
TXT: 1,
// 语音消息
VOICE: 2,
// 图片消息
IMG: 3,
// 视频消息
VIDEO: 4,
// 自定义类型
CUSTOM : 6,
// 提示消息
TIP : 7
}
const TYPE = {
// 给某个会话发送消息
SEND_MSG: 20,
// 创建会话
CRETAE_SEEION: 21,
// 会话心跳
SESSION_HEART : 22
}
export {
// 消息类型
MSG_TYPE
}