Browse Source

付款码轮询

gorden 6 months ago
parent
commit
a629f18c30
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/admin/service/order/OrderService.php

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

@@ -216,8 +216,8 @@ class OrderService
                 'auth_code' => $params['qrcode_nbr'],
             ];
             try {
-//                $result = Pay::wechat(config('payment.wxpay'))->pos($payData);
                 $result = self::findWxpay('OD20240816113023HNSQDI',0);
+                $result = Pay::wechat(config('payment.wxpay'))->pos($payData);
             } catch (\Exception $e) {
                 $log->error("WXPAY", ['msg' => $e->getMessage()]);
                 throw new BusinessException("支付失败");