diff --git a/app/controller/api/store/merchant/Merchant.php b/app/controller/api/store/merchant/Merchant.php index 7195fd67..2aada127 100644 --- a/app/controller/api/store/merchant/Merchant.php +++ b/app/controller/api/store/merchant/Merchant.php @@ -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'],