getjoborders
This commit is contained in:
@@ -20,7 +20,7 @@ type OrderController struct {
|
||||
// @router /Pay [post]
|
||||
func (c *OrderController) Pay() {
|
||||
c.callPay(func(params *tOrderPayParams) (retVal interface{}, errCode string, err error) {
|
||||
err = cms.Pay(params.Ctx, params.OrderID, params.PayType, params.VendorPayType)
|
||||
retVal, err = cms.Pay(params.Ctx, params.OrderID, params.PayType, params.VendorPayType)
|
||||
return retVal, "", err
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user