Browse Source

代支付流程

whitefang 2 years ago
parent
commit
6a27c08898
1 changed files with 2 additions and 1 deletions
  1. 2 1
      app/common/logic/PaymentLogic.php

+ 2 - 1
app/common/logic/PaymentLogic.php

@@ -207,8 +207,9 @@ class PaymentLogic extends BaseLogic
                 $payService = (new WorkerWeChatPayService($terminal, $order['user_id'] ?? null));
                 $order['pay_sn'] = $paySn;
                 $order['redirect_url'] = $redirectUrl;
+                dd($from, $order);
+
                 $result = $payService->pay($from, $order);
-                dd($result);
                 break;
             default:
                 self::$error = '订单异常';