更新
This commit is contained in:
parent
559376a22b
commit
f39c34e86f
@ -644,7 +644,7 @@ class Common extends BaseController
|
|||||||
public function Qrcode($data)
|
public function Qrcode($data)
|
||||||
{
|
{
|
||||||
$siteUrl = systemConfig('site_url');
|
$siteUrl = systemConfig('site_url');
|
||||||
$name = md5('orcode' . date('Ymd')) . '.png';
|
$name = md5('orcode'.$data['id'] . date('Ymd')) . '.png';
|
||||||
$attachmentRepository = app()->make(AttachmentRepository::class);
|
$attachmentRepository = app()->make(AttachmentRepository::class);
|
||||||
$imageInfo = $attachmentRepository->getWhere(['attachment_name' => $name]);
|
$imageInfo = $attachmentRepository->getWhere(['attachment_name' => $name]);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user