通知媒介可以设置发送频率

This commit is contained in:
GoEdgeLab
2021-08-24 15:46:53 +08:00
parent 17b9eee78d
commit 8c1771331f
5 changed files with 22 additions and 6 deletions

View File

@@ -1,6 +1,6 @@
package models
// 消息媒介接收人
// MessageMediaInstance 消息媒介接收人
type MessageMediaInstance struct {
Id uint32 `field:"id"` // ID
Name string `field:"name"` // 名称
@@ -8,6 +8,7 @@ type MessageMediaInstance struct {
MediaType string `field:"mediaType"` // 媒介类型
Params string `field:"params"` // 媒介参数
Description string `field:"description"` // 备注
Rate string `field:"rate"` // 发送频率
State uint8 `field:"state"` // 状态
}
@@ -18,6 +19,7 @@ type MessageMediaInstanceOperator struct {
MediaType interface{} // 媒介类型
Params interface{} // 媒介参数
Description interface{} // 备注
Rate interface{} // 发送频率
State interface{} // 状态
}