This commit is contained in:
aozhiwei 2024-11-17 13:20:21 +08:00
parent 26afda8f37
commit 663430555e

View File

@ -3,6 +3,7 @@ package service
import (
"q5"
"sync"
"main/model"
)
type logNode struct {
@ -57,5 +58,12 @@ func (this *log) AddAsyncLog(accountId string, logType string, subLogType string
func (this *log) saveNode(node interface{}) bool {
p := node.(*logNode)
logModel := new(model.Log)
logModel.AccountId = p.accountId
logModel.Type = p.logType
logModel.SubType = p.subLogType
logModel.CreateTime = int32(p.currTime)
logModel.ModifyTime = int32(p.currTime)
logModel.Create()
return true
}