1
This commit is contained in:
@@ -774,6 +774,24 @@ func QueryOrder(vendorOrderId, merchantId string, vendorId int) (*lakala.QueryOr
|
||||
return result, nil
|
||||
}
|
||||
|
||||
// CloseOrderByMini 聚合支付关单,关单重新拉起支付
|
||||
func CloseOrderByMini(merchantNo, termNo, orderNo, ip string) error {
|
||||
param := &lakala.ClosePayMiniOrder{
|
||||
MerchantNo: merchantNo,
|
||||
TermNo: termNo,
|
||||
OriginOutTradeNo: orderNo,
|
||||
OriginTradeNo: "",
|
||||
LocationInfo: struct {
|
||||
RequestIp string `json:"request_ip"`
|
||||
BaseStation string `json:"base_station"`
|
||||
Location string `json:"location"`
|
||||
}{
|
||||
RequestIp: ip,
|
||||
},
|
||||
}
|
||||
return api.LaKaLaApi.ClosePay(param)
|
||||
}
|
||||
|
||||
//#endregion
|
||||
|
||||
//#region 账户相关
|
||||
|
||||
Reference in New Issue
Block a user