|
|
@@ -439,7 +439,7 @@ class TestController extends BaseController
|
|
|
//['name' => '源花汇OK', 'merchantNo' => '82222105992004A', 'wx' => [601221944, 601214269], 'zfb' => '2088820770594246'],
|
|
|
//['name' => '源花汇2(没用)', 'merchantNo' => '8227310599200GD', 'wx' => [601136305, 601067016], 'zfb' => '2088820729832744'],
|
|
|
];
|
|
|
- if(empty($arr)){
|
|
|
+ if (empty($arr)) {
|
|
|
echo '没有需要认证门店';
|
|
|
return false;
|
|
|
}
|
|
|
@@ -647,8 +647,16 @@ class TestController extends BaseController
|
|
|
'tradeNo' => '66217688986441',
|
|
|
];
|
|
|
$response = $laResource->query($queryParams, 1);
|
|
|
- echo "<pre>";
|
|
|
- print_r($response);
|
|
|
+// echo "<pre>";
|
|
|
+// print_r($response);
|
|
|
+
|
|
|
+ $payWay = 1;
|
|
|
+ $orderSn = $response['out_trade_no'] ?? '';
|
|
|
+ $trade_amount = $response['trade_amount'] ?? 0;
|
|
|
+ $totalFee = $trade_amount / 100;
|
|
|
+ $attach = '';
|
|
|
+ $transactionId = $response['trade_no'] ?? 0;
|
|
|
+ PurchaseClearClass::thirdPay($payWay, $orderSn, $totalFee, $attach, $transactionId);
|
|
|
}
|
|
|
|
|
|
//零售订单查询 ssh 20231031
|