From cc999b400f4a16eaca8e53438789fbc66d44fc8a Mon Sep 17 00:00:00 2001 From: chenbo <709206448@qq.com> Date: Mon, 20 Nov 2023 12:06:19 +0800 Subject: [PATCH] =?UTF-8?q?up=20=E4=BE=9B=E9=94=80=E5=AF=B9=E6=8E=A5?= =?UTF-8?q?=E6=94=AF=E4=BB=98=E7=B3=BB=E7=BB=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/api/controller/PayController.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/api/controller/PayController.php b/app/api/controller/PayController.php index 99e496c45..875a402c1 100755 --- a/app/api/controller/PayController.php +++ b/app/api/controller/PayController.php @@ -73,15 +73,15 @@ class PayController extends BaseApiController 'order_type' => 101, 'pay_user_role' => $this->userInfo['group_id'], 'pay_user_info' => $this->userInfo, - 'business_order_no' => $order['order_no'], + 'business_order_no' => $order['sn'], 'total_fee' => $order['order_amount'], 'business_callback_url' => (string)url('pay/notifyApp', [], false, true) ]; - $result = PayRequestLogic::getPrePayId($requestData);dd($result); + $result = PayRequestLogic::getPrePayId($requestData); if (false === $result) { return $this->fail(PaymentLogic::getError(), $params); } - return $this->success('', $result); + return $this->success('', $result['data']); }