From 372494883079be03b921f6686691271355bfdd14 Mon Sep 17 00:00:00 2001
From: huangsijun <1773182001@qq.com>
Date: Thu, 06 Nov 2025 12:04:52 +0800
Subject: [PATCH] 修改订单保存另外参数  微信支付预下单接口填入的 out_trade_no

---
 admin/app/api/service/order/paysuccess/type/MasterPaySuccessService.php |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/admin/app/api/service/order/paysuccess/type/MasterPaySuccessService.php b/admin/app/api/service/order/paysuccess/type/MasterPaySuccessService.php
index c80681f..1dc7b31 100644
--- a/admin/app/api/service/order/paysuccess/type/MasterPaySuccessService.php
+++ b/admin/app/api/service/order/paysuccess/type/MasterPaySuccessService.php
@@ -186,6 +186,7 @@
 
         if ($payType == OrderPayTypeEnum::WECHAT || $payType == OrderPayTypeEnum::ALIPAY) {
             $order['transaction_id'] = $payData['transaction_id'];
+            $order['ins_order_sn'] = $payData['ins_order_sn']??'';
         }
 
         //支付完成后,判断商户是否独立收款 by yj 2024.3.13

--
Gitblit v1.9.2