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'));