This commit is contained in:
mkm 2024-01-21 21:23:36 +08:00
parent f39c34e86f
commit 3ce108920a

View File

@ -644,7 +644,7 @@ class Common extends BaseController
public function Qrcode($data)
{
$siteUrl = systemConfig('site_url');
$name = md5('orcode'.$data['id'] . date('Ymd')) . '.png';
$name = 'orcode'.$data['id'] .md5(date('Ymd')) . '.png';
$attachmentRepository = app()->make(AttachmentRepository::class);
$imageInfo = $attachmentRepository->getWhere(['attachment_name' => $name]);