fix:支付
This commit is contained in:
parent
8d9ff4fe10
commit
4a55844d73
|
@ -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
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue
Block a user