|
|
@@ -654,8 +654,8 @@ class TestController extends BaseController
|
|
|
|
|
|
$payWay = 1;
|
|
|
$orderSn = $data['out_trade_no'] ?? '';
|
|
|
- $trade_amount = $data['trade_amount'] ?? 0;
|
|
|
- $totalFee = $trade_amount / 100;
|
|
|
+ $total_amount = $data['total_amount'] ?? 0;
|
|
|
+ $totalFee = $total_amount / 100;
|
|
|
$attach = '';
|
|
|
$transactionId = $data['trade_no'] ?? 0;
|
|
|
PurchaseClearClass::thirdPay($payWay, $orderSn, $totalFee, $attach, $transactionId);
|