up
This commit is contained in:
@@ -681,7 +681,7 @@ func SaveUserCart(ctx *jxcontext.Context, userID string, storeID int, cartItems
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
if len(cartItems) > 0 {
|
if len(cartItems) > 0 {
|
||||||
err = dao.CreateMultiEntities(dao.GetDB(), cartItems)
|
err = dao.CreateMultiEntities(db, cartItems)
|
||||||
}
|
}
|
||||||
if err == nil {
|
if err == nil {
|
||||||
dao.Commit(db)
|
dao.Commit(db)
|
||||||
|
|||||||
Reference in New Issue
Block a user