x
This commit is contained in:
parent
7bc1d62e29
commit
298bd0d3c8
@ -224,7 +224,6 @@ func NewJdCookie(ck *JdCookie) error {
|
||||
date := Date()
|
||||
ck.CreateAt = date
|
||||
tx := db.Begin()
|
||||
ck.Priority = Config.DefaultPriority
|
||||
if err := tx.Create(ck).Error; err != nil {
|
||||
tx.Rollback()
|
||||
return err
|
||||
|
||||
Loading…
Reference in New Issue
Block a user