mirror of
https://gitee.com/liuxioabin/fengketrade.git
synced 2026-04-17 21:03:17 +08:00
up
This commit is contained in:
parent
69f3240dd0
commit
e86985e733
@ -243,6 +243,13 @@ class CcbOrderService
|
||||
public function queryOrder($orderSn, $startTime = null, $endTime = null, $page = 1, $txType = '0', $txnStatus = '00')
|
||||
{
|
||||
try {
|
||||
// 构建商户信息参数(根据建行文档A3341TP03要求)
|
||||
$additionalParams = [
|
||||
'MERCHANTID' => $this->config['merchant_id'],
|
||||
'POSID' => $this->config['pos_id'],
|
||||
'BRANCHID' => $this->config['branch_id']
|
||||
];
|
||||
|
||||
// 调用建行API查询订单(使用新接口)
|
||||
$response = $this->httpClient->queryOrder(
|
||||
$orderSn,
|
||||
@ -250,7 +257,8 @@ class CcbOrderService
|
||||
$endTime,
|
||||
$page,
|
||||
$txType,
|
||||
$txnStatus
|
||||
$txnStatus,
|
||||
$additionalParams // 传递商户信息
|
||||
);
|
||||
|
||||
return [
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user