Browse Source

付款码轮询

gorden 8 months ago
parent
commit
566610b066
2 changed files with 258 additions and 258 deletions
  1. 256 256
      app/admin/controller/order/WholeController.php
  2. 2 2
      app/admin/service/order/OrderService.php

File diff suppressed because it is too large
+ 256 - 256
app/admin/controller/order/WholeController.php


+ 2 - 2
app/admin/service/order/OrderService.php

@@ -217,7 +217,7 @@ class OrderService
             ];
             try {
 //                $result = Pay::wechat(config('payment.wxpay'))->pos($payData);
-                $result = self::findWxpay('OD20240816113023HNSQDI');
+                $result = self::findWxpay('OD20240816113023HNSQDI',0);
             } catch (\Exception $e) {
                 $log->error("WXPAY", ['msg' => $e->getMessage()]);
                 throw new BusinessException("支付失败");
@@ -258,7 +258,7 @@ class OrderService
         $result = Pay::wechat(config('payment.wxpay'))->find($order);
         dump($result);
 
-
+        return $result;
     }
 
     /**

Some files were not shown because too many files changed in this diff