|
|
|
@ -130,7 +130,7 @@ class Merchant extends Controller |
|
|
|
|
public function list(): Json { |
|
|
|
|
$model = new MerchantModel; |
|
|
|
|
$pageSize = $this->request->param('pageSize') ?? 15; |
|
|
|
|
$list = $model->getList($this->request->param(), $pageSize)->toArray(); |
|
|
|
|
$list = $model->getList($this->request->param(), intval($pageSize))->toArray(); |
|
|
|
|
|
|
|
|
|
foreach ($list['data'] as $kr => $r) { |
|
|
|
|
$res[$kr]['licenseImg'] = []; |
|
|
|
|