|
|
|
@ -89,7 +89,7 @@ class Merchant extends BaseModel |
|
|
|
|
$res = $this->with(['logoImage']) |
|
|
|
|
->where($this->getFilter($param)) |
|
|
|
|
->where('is_delete', '=', 0) |
|
|
|
|
->order(['sort' => 'desc', $sortField]) |
|
|
|
|
->order([$sortField => 'desc']) |
|
|
|
|
->paginate($pageSize); |
|
|
|
|
|
|
|
|
|
return $res; |
|
|
|
|