diff --git a/app/api/controller/Merchant.php b/app/api/controller/Merchant.php index 5d3139b3..49bda173 100644 --- a/app/api/controller/Merchant.php +++ b/app/api/controller/Merchant.php @@ -129,7 +129,8 @@ class Merchant extends Controller */ public function list(): Json { $model = new MerchantModel; - $list = $model->getList($this->request->param())->toArray(); + $pageSize = $this->request->param('pageSize') ?? 15; + $list = $model->getList($this->request->param(), $pageSize)->toArray(); foreach ($list['data'] as $kr => $r) { $res[$kr]['licenseImg'] = [];