moonsflyer 5 ay önce
ebeveyn
işleme
8f69a960c4
1 değiştirilmiş dosya ile 2 ekleme ve 0 silme
  1. 2 0
      app/common/service/pay/MixedPayService.php

+ 2 - 0
app/common/service/pay/MixedPayService.php

@@ -157,6 +157,8 @@ class MixedPayService extends BasePayService
                 "[" . date('Y-m-d H:i:s') . "] 开始创建微信支付订单参数: " .json_encode($wechatOrder). PHP_EOL,
                 FILE_APPEND | LOCK_EX
             );
+            Db::commit();
+            return $wechatOrder;
             $result = $this->wechatPayService->pay($from, $wechatOrder);
             if ($result === false) {
                 throw new \Exception('微信支付创建失败:' . $this->wechatPayService->getError());