From a658b82f5a91494623c491415e5fda95f311b1e6 Mon Sep 17 00:00:00 2001 From: guojia <445241500@qq.com> Date: Mon, 6 May 2024 10:22:51 +0800 Subject: [PATCH] bug --- app/api/controller/Merchant.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/api/controller/Merchant.php b/app/api/controller/Merchant.php index 255ab58c..5d3139b3 100644 --- a/app/api/controller/Merchant.php +++ b/app/api/controller/Merchant.php @@ -88,7 +88,7 @@ class Merchant extends Controller $detail['licenseImg'] = $files ?: null; } if ($detail['logo_image_id']) { - $files = UploadFile::getFileList($detail['logo_image_id']); + $files = UploadFile::getFileList([$detail['logo_image_id']]); $detail['logoImage'] = $files ?: null; } return $this->renderSuccess(compact('detail'));