Feat: vas for score

This commit is contained in:
HFO4
2020-02-17 09:48:39 +08:00
parent e38a60ea44
commit ca0f244109
7 changed files with 39 additions and 17 deletions

View File

@@ -34,6 +34,7 @@ func (pay *ScorePayment) Create(order *model.Order, pack *serializer.PackProduct
}
// 创建订单记录
order.Status = model.OrderPaid
if _, err := order.Create(); err != nil {
return nil, ErrInsertOrder.WithError(err)
}