shish 2 years ago
parent
commit
2f8ed010a8
1 changed files with 4 additions and 3 deletions
  1. 4 3
      app-ghs/controllers/TestController.php

+ 4 - 3
app-ghs/controllers/TestController.php

@@ -262,9 +262,10 @@ class TestController extends BaseController
                 $orderSn = $response['resp_data']['out_trade_no'] ?? 0;
                 $totalFee = $payer_amount / 100;
                 $transactionId = $response['resp_data']['trade_no'] ?? 0;
-                echo $currentPayWay.' '.$capitalType.' '.$orderSn.' '.$totalFee.' '.$attach.' '.$transaction;die;
-                payUtil::thirdPay($currentPayWay, $capitalType, $orderSn, $totalFee, $attach, $transactionId);
-                $transaction->commit();
+                echo $currentPayWay . ' ' . $capitalType . ' ' . $orderSn . ' ' . $totalFee . ' ' . $attach . ' ' . $transactionId;
+                die;
+                //payUtil::thirdPay($currentPayWay, $capitalType, $orderSn, $totalFee, $attach, $transactionId);
+                //$transaction->commit();
                 echo 'OK';
             } catch (\Exception $e) {
                 $transaction->rollBack();