shish 9 месяцев назад
Родитель
Сommit
d6b18c5f74
1 измененных файлов с 2 добавлено и 1 удалено
  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>';