Skip to content

Commit 88f6b3e

Browse files
committed
解决翻页的问题
1 parent 2348834 commit 88f6b3e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

host.go

+2
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,8 @@ func (c *Client) HostSearch(query string, size int, fields []string) (res [][]st
135135
if len(results) < perPage {
136136
break
137137
}
138+
139+
page++ // 翻页
138140
}
139141

140142
return

0 commit comments

Comments
 (0)