1
This commit is contained in:
parent
26afda8f37
commit
663430555e
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user