src/BrandImpl.php
public function getList(
        array $search = [],
        int $limit = 20,
        array $columns = ["*"],
        array $order = ['id' => 'desc'],
        int $page = 1
    ): LengthAwarePaginator {
        $this->repo->pushCriteria(new Search($search))
            ->pushCriteria(new Order($order))
            ->paginate($limit, $columns,
                $page);
    }
public function getList(
        array $search = [],
        int $limit = 20,
        array $columns = ["*"],
        array $order = ['id' => 'desc'],
        int $page = 1
    ): LengthAwarePaginator {
        $this->repo->pushCriteria(new Search($search))
            ->pushCriteria(new Order($order))
            ->paginate($limit, $columns,
                $page);
    }
获取品牌列表

@param array $search
@param int   $limit
@param array $columns
@param array $order
@param int   $page

@return LengthAwarePaginator