cash finish
This commit is contained in:
@@ -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
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user