feat: 消息类型
This commit is contained in:
@@ -7,6 +7,20 @@ export const MessageRole = {
|
||||
OTHER: "OTHER",
|
||||
};
|
||||
|
||||
/// 消息类型 0-对话 1-指令 2-中断停止 3-心跳检测 4-通知
|
||||
export const MessageType = {
|
||||
// 对话消息
|
||||
dialog: 0,
|
||||
// 指令消息
|
||||
command: 1,
|
||||
// 中断停止
|
||||
stop: 2,
|
||||
// 心跳检测
|
||||
heartbeat: 3,
|
||||
// 通知消息
|
||||
notice: 4,
|
||||
};
|
||||
|
||||
/// 组件的名称
|
||||
export const CompName = {
|
||||
// 快速预定卡片
|
||||
@@ -28,11 +42,13 @@ export const CompName = {
|
||||
// 回答卡片
|
||||
longTextCard: "longTextCard",
|
||||
// 生成合成图片
|
||||
generatorPhotoCard: "generatorPhotoCard",
|
||||
aigcPhotoGeneratorCard: "aigcPhotoGeneratorCard",
|
||||
};
|
||||
|
||||
/// 发送的指令类型
|
||||
export const Command = {
|
||||
// 通知消息
|
||||
welcome: "Command.welcome",
|
||||
// 快速预定
|
||||
quickBooking: "Command.quickBooking",
|
||||
// 探索发现
|
||||
@@ -47,4 +63,6 @@ export const Command = {
|
||||
myWorkOrder: "Command.myWorkOrder",
|
||||
// 反馈意见
|
||||
feedbackCard: "Command.feedbackCard",
|
||||
// 生成合成图片
|
||||
aigcPhotoGenerator: "Command.aigcPhotoGenerator",
|
||||
};
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
<view class="border-box card-content flex flex-items-center pb-12">
|
||||
<view class="border-box left flex-full pr-20">
|
||||
<view class="font-size-12 color-525866 line-height-20 mb-4"
|
||||
>房间号:{{ orderData.roomNo }}</view
|
||||
>所在位置:{{ orderData.roomNo }}</view
|
||||
>
|
||||
<view class="font-size-12 color-525866 line-height-20 mb-4"
|
||||
>联系方式: {{ orderData.userPhone }}</view
|
||||
|
||||
Reference in New Issue
Block a user