This commit is contained in:
mkm 2023-11-07 15:51:48 +08:00
parent f355a50774
commit be9ab1acdc

View File

@ -135,7 +135,7 @@ class Merchant extends BaseController
if($imageInfo){
$url=$imageInfo['attachment_src'];
}else{
$info = app()->make(QrcodeService::class)->getQRCodePath(systemConfig('site_url').'pages/store/home/index&id=' . $id, $name);
$info = app()->make(QrcodeService::class)->getQRCodePath(systemConfig('site_url').'pages/store/home/index?id=' . $id, $name);
$attachmentRepository->create(systemConfig('upload_type') ?: 1, -2, $id, [
'attachment_category_id' => 0,
'attachment_name' => $info['name'],