code: public function getDeviceByPageId($pageId, $begin, $count)
      {
          $params = [
              'type' => 2,
              'page_id' => intval($pageId),
              'begin' => intval($begin),
              'count' => intval($count),
          ];
  
          return $this->parseJSON('json', [self::API_RELATION_SEARCH, $params]);
      }
docs: Get devices by pageId.
  
  @param int $pageId
  @param int $begin
  @param int $count
  
  @return \EasyWeChat\Support\Collection