Przeglądaj źródła

Merge branch 'master' into dev

shish 9 miesięcy temu
rodzic
commit
1213013f45
1 zmienionych plików z 2 dodań i 1 usunięć
  1. 2 1
      app-ghs/controllers/NoticeController.php

+ 2 - 1
app-ghs/controllers/NoticeController.php

@@ -35,6 +35,7 @@ class NoticeController extends PublicController
         $total_fee = $postObj->total_fee;
         $totalFee = $total_fee / 100;
         $attach = $postObj->attach;
+        $transactionId = $postObj->transaction_id ?? '';
         //接收流水类型、代金劵
         parse_str($attach);
         //流水类型
@@ -57,7 +58,7 @@ class NoticeController extends PublicController
         try {
             $wxPay = dict::getDict('payWay', 'wxPay');
             //支付成功后续流程
-            payUtil::thirdPay($wxPay, $capitalType, $orderSn, $totalFee, $attach);
+            payUtil::thirdPay($wxPay, $capitalType, $orderSn, $totalFee, $attach, $transactionId);
             $transaction->commit();
             echo '<xml><return_code><![CDATA[SUCCESS]]></return_code><return_msg><![CDATA[OK]]></return_msg></xml>';