cash finish

This commit is contained in:
苏尹岚
2020-10-20 13:51:30 +08:00
parent 29946b79d9
commit 150ec0701c
4 changed files with 51 additions and 6 deletions

View File

@@ -36,8 +36,8 @@ func (c *OrderController) Pay() {
// @router /Cash [post]
func (c *OrderController) Cash() {
c.callCash(func(params *tOrderCashParams) (retVal interface{}, errCode string, err error) {
err = cms.Cash(params.Ctx, params.OrderID, params.PayType, params.VendorPayType)
return retVal, "", err
errCode, err = cms.Cash(params.Ctx, params.OrderID, params.PayType, params.VendorPayType)
return retVal, errCode, err
})
}