实现基础的通知媒介管理

This commit is contained in:
GoEdgeLab
2021-04-05 20:48:33 +08:00
parent 975b307ac1
commit b0990961b8
41 changed files with 2467 additions and 3 deletions

View File

@@ -0,0 +1,24 @@
package models
// 消息发送日志
type MessageTaskLog struct {
Id uint64 `field:"id"` // ID
TaskId uint64 `field:"taskId"` // 任务ID
CreatedAt uint64 `field:"createdAt"` // 创建时间
IsOk uint8 `field:"isOk"` // 是否成功
Error string `field:"error"` // 错误信息
Response string `field:"response"` // 响应信息
}
type MessageTaskLogOperator struct {
Id interface{} // ID
TaskId interface{} // 任务ID
CreatedAt interface{} // 创建时间
IsOk interface{} // 是否成功
Error interface{} // 错误信息
Response interface{} // 响应信息
}
func NewMessageTaskLogOperator() *MessageTaskLogOperator {
return &MessageTaskLogOperator{}
}