pageNo, $this->pageSize)['lists'] ?? []; if (empty($lists)) { return $lists; } return UpgradeLogic::formatLists($lists, $this->pageNo); } /** * @notes 查看系统更新列表总数 * @return int * @author 段誉 * @date 2021/8/14 17:15 */ public function count(): int { $result = UpgradeLogic::getRemoteVersion($this->limitOffset, $this->limitLength); return $result['count'] ?? 0; } }