missing updates #5
@@ -236,7 +236,7 @@ func (c *CartGrain) Apply(content interface{}, isReplay bool) (*CartGrain, error
|
|||||||
if updated != nil && !isReplay {
|
if updated != nil && !isReplay {
|
||||||
c.lastChange = time.Now()
|
c.lastChange = time.Now()
|
||||||
c.lastAccess = time.Now()
|
c.lastAccess = time.Now()
|
||||||
_ = AppendCartEvent(c.Id, content)
|
go AppendCartEvent(c.Id, content)
|
||||||
}
|
}
|
||||||
|
|
||||||
return updated, nil
|
return updated, nil
|
||||||
|
|||||||
Reference in New Issue
Block a user