fix:支付

This commit is contained in:
momo 2023-09-27 18:00:35 +08:00
parent 8d9ff4fe10
commit 4a55844d73

View File

@ -1006,11 +1006,11 @@ func (d *defaultOrder) Create(ctx context.Context, in *CreateReq) (res *CreateRe
if resultCreate.Error != nil { if resultCreate.Error != nil {
return resultCreate.Error return resultCreate.Error
} }
// // 删除购物车 // 删除购物车
// resultDelete := tx.Delete(&gmodel.FsShoppingCart{}, in.CartIds) resultDelete := tx.Delete(&gmodel.FsShoppingCart{}, in.CartIds)
// if resultDelete.Error != nil { if resultDelete.Error != nil {
// return resultDelete.Error return resultDelete.Error
// } }
return nil return nil
}) })