mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-11-27 10:10:27 +08:00
节点日志计数从1开始(以前是0)
This commit is contained in:
@@ -68,6 +68,7 @@ func (this *NodeLogDAO) CreateLog(tx *dbs.Tx, nodeRole nodeconfigs.NodeRole, nod
|
||||
op.CreatedAt = createdAt
|
||||
op.Day = timeutil.FormatTime("Ymd", createdAt)
|
||||
op.Hash = hash
|
||||
op.Count = 1
|
||||
err = this.Save(tx, op)
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user