节点日志增加是否已读标记

This commit is contained in:
GoEdgeLab
2021-10-14 17:29:54 +08:00
parent 8bd967db3a
commit f22bc2b607
3 changed files with 81 additions and 7 deletions

View File

@@ -15,6 +15,7 @@ type NodeLog struct {
Hash string `field:"hash"` // 信息内容Hash
Count uint32 `field:"count"` // 重复次数
IsFixed uint8 `field:"isFixed"` // 是否已处理
IsRead uint8 `field:"isRead"` // 是否已读
}
type NodeLogOperator struct {
@@ -31,6 +32,7 @@ type NodeLogOperator struct {
Hash interface{} // 信息内容Hash
Count interface{} // 重复次数
IsFixed interface{} // 是否已处理
IsRead interface{} // 是否已读
}
func NewNodeLogOperator() *NodeLogOperator {