调整生成商户线下收款码

This commit is contained in:
luofei 2024-02-29 17:31:52 +08:00
parent bf09ec7935
commit fe1614ef0f

View File

@ -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]);
}