aa
This commit is contained in:
@@ -40,6 +40,7 @@ func (c *JxOrderController) CreateOrder() {
|
||||
// @Title 请求支付京西商城订单
|
||||
// @Description 请求支付京西商城订单
|
||||
// @Param token header string true "认证token"
|
||||
// @Param subAppID formData string true "appID"
|
||||
// @Param vendorOrderID formData string true "订单ID"
|
||||
// @Param payType formData int true "支付类型"
|
||||
// @Param vendorPayType formData string true "平台支付类型"
|
||||
@@ -48,7 +49,7 @@ func (c *JxOrderController) CreateOrder() {
|
||||
// @router /Pay4Order [post]
|
||||
func (c *JxOrderController) Pay4Order() {
|
||||
c.callPay4Order(func(params *tJxorderPay4OrderParams) (retVal interface{}, errCode string, err error) {
|
||||
retVal, err = localjx.Pay4Order(params.Ctx, utils.Str2Int64(params.VendorOrderID), params.PayType, params.VendorPayType)
|
||||
retVal, err = localjx.Pay4Order(params.Ctx, utils.Str2Int64(params.VendorOrderID), params.PayType, params.VendorPayType, params.SubAppID)
|
||||
return retVal, "", err
|
||||
})
|
||||
}
|
||||
@@ -57,6 +58,7 @@ func (c *JxOrderController) Pay4Order() {
|
||||
// @Description 请求支付京西商城相关用户支付项目
|
||||
// @Param token header string true "认证token"
|
||||
// @Param thingID formData int fasle "项目ID"
|
||||
// @Param subAppID formData string true "appID"
|
||||
// @Param vendorOrderID formData string fasle "订单ID"
|
||||
// @Param payType formData int true "支付类型"
|
||||
// @Param vendorPayType formData string true "平台支付类型"
|
||||
@@ -65,7 +67,7 @@ func (c *JxOrderController) Pay4Order() {
|
||||
// @router /Pay4User [post]
|
||||
func (c *JxOrderController) Pay4User() {
|
||||
c.callPay4User(func(params *tJxorderPay4UserParams) (retVal interface{}, errCode string, err error) {
|
||||
retVal, err = localjx.Pay4User(params.Ctx, params.ThingID, params.VendorOrderID, params.PayType, params.VendorPayType)
|
||||
retVal, err = localjx.Pay4User(params.Ctx, params.ThingID, params.VendorOrderID, params.PayType, params.VendorPayType, params.SubAppID)
|
||||
return retVal, "", err
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user