Merge remote-tracking branch 'origin/mark' into yonghui
This commit is contained in:
@@ -279,6 +279,7 @@ func (c *OrderController) ExportMTWaybills() {
|
||||
// @Param isJxFirst query bool false "排序是否京西订单优先(缺省为否)"
|
||||
// @Param adjustCount query int false "最小调整次数"
|
||||
// @Param mustInvoice query bool false "是否必须要求开发票"
|
||||
// @Param isPurchase query bool false "是否是用户自已的订单,如果角色只有consumer,会被强制设为true"
|
||||
// @Param offset query int false "结果起始序号(以0开始,缺省为0)"
|
||||
// @Param pageSize query int false "结果页大小(缺省为50,-1表示全部)"
|
||||
// @Success 200 {object} controllers.CallResult
|
||||
|
||||
@@ -58,3 +58,17 @@ func (c *JxOrderController) GetAvailableDeliverTime() {
|
||||
return retVal, "", err
|
||||
})
|
||||
}
|
||||
|
||||
// @Title 得到一个订单的支付信息
|
||||
// @Description 得到一个订单的支付信息
|
||||
// @Param token header string true "认证token"
|
||||
// @Param vendorOrderID query string true "订单号,如果此项不为空,忽略其它所有查询条件"
|
||||
// @Success 200 {object} controllers.CallResult
|
||||
// @Failure 200 {object} controllers.CallResult
|
||||
// @router /GetOrderPay [get]
|
||||
func (c *JxOrderController) GetOrderPay() {
|
||||
c.callGetOrderPay(func(params *tJxorderGetOrderPayParams) (retVal interface{}, errCode string, err error) {
|
||||
retVal, err = localjx.GetOrderPay(params.Ctx, params.VendorOrderID)
|
||||
return retVal, "", err
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user