From fe1614ef0ffd4291487ffb0adcb3921779bd733f Mon Sep 17 00:00:00 2001 From: luofei <604446095@qq.com> Date: Thu, 29 Feb 2024 17:31:52 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E7=94=9F=E6=88=90=E5=95=86?= =?UTF-8?q?=E6=88=B7=E7=BA=BF=E4=B8=8B=E6=94=B6=E6=AC=BE=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controller/api/store/order/ScanPay.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/controller/api/store/order/ScanPay.php b/app/controller/api/store/order/ScanPay.php index b0ff677b..58000de6 100644 --- a/app/controller/api/store/order/ScanPay.php +++ b/app/controller/api/store/order/ScanPay.php @@ -38,7 +38,8 @@ class ScanPay extends BaseController $merId = $this->request->get('mer_id'); $common = app()->make(Common::class); $siteUrl = systemConfig('site_url'); - $data = $common->Qrcode(['code' => $siteUrl . 'pages/payment/get_payment?mer_id=' . $merId, 'id' => $this->request->uid]); + $user = $this->request->userInfo(); + $data = $common->Qrcode(['code' => $siteUrl . 'pages/payment/get_payment?mer_id=' . $merId, 'id' => $user['uid']]); return app('json')->success(['url' => $data]); }