|
|
|
@ -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'] = []; |
|
|
|
|