getjoborders

This commit is contained in:
苏尹岚
2020-11-04 09:17:23 +08:00
parent b0576d0d55
commit d61decc182
3 changed files with 6 additions and 7 deletions

View File

@@ -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
})
}