mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-11-12 14:50:25 +08:00
优化代码
This commit is contained in:
@@ -10,10 +10,10 @@ type NodeTask struct {
|
||||
Type string `field:"type"` // 任务类型
|
||||
UniqueId string `field:"uniqueId"` // 唯一ID:nodeId@type
|
||||
UpdatedAt uint64 `field:"updatedAt"` // 修改时间
|
||||
IsDone uint8 `field:"isDone"` // 是否已完成
|
||||
IsOk uint8 `field:"isOk"` // 是否已完成
|
||||
IsDone bool `field:"isDone"` // 是否已完成
|
||||
IsOk bool `field:"isOk"` // 是否已完成
|
||||
Error string `field:"error"` // 错误信息
|
||||
IsNotified uint8 `field:"isNotified"` // 是否已通知更新
|
||||
IsNotified bool `field:"isNotified"` // 是否已通知更新
|
||||
Version uint64 `field:"version"` // 版本
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user