mirror of
https://github.com/whitechi73/OpenShamrock.git
synced 2024-08-14 13:12:17 +08:00
Shamrock
: 修复QQ收藏异常
This commit is contained in:
parent
8fadd0016a
commit
c28c9981c4
@ -33,6 +33,10 @@ internal object FavGetItemList: IActionHandler() {
|
|||||||
pageSize: Int,
|
pageSize: Int,
|
||||||
echo: JsonElement = EmptyJsonString
|
echo: JsonElement = EmptyJsonString
|
||||||
): String {
|
): String {
|
||||||
|
if (pageSize <= 1) {
|
||||||
|
return logic("page_size must be greater than 1", echo)
|
||||||
|
}
|
||||||
|
|
||||||
val result = DeflateTools.ungzip(QFavSvc.getItemList(
|
val result = DeflateTools.ungzip(QFavSvc.getItemList(
|
||||||
category = category,
|
category = category,
|
||||||
startPos = startPos,
|
startPos = startPos,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user