调整生成商户线下收款码
This commit is contained in:
parent
bf09ec7935
commit
fe1614ef0f
@ -38,7 +38,8 @@ class ScanPay extends BaseController
|
|||||||
$merId = $this->request->get('mer_id');
|
$merId = $this->request->get('mer_id');
|
||||||
$common = app()->make(Common::class);
|
$common = app()->make(Common::class);
|
||||||
$siteUrl = systemConfig('site_url');
|
$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]);
|
return app('json')->success(['url' => $data]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user