mod: 请求节流

This commit is contained in:
guozhigq
2023-08-19 20:37:42 +08:00
parent ec9d9739fe
commit b7eed8578a
7 changed files with 27 additions and 12 deletions

View File

@ -37,6 +37,9 @@ class VideoReplyController extends GetxController {
if (type == 'init') {
currentPage = 0;
}
if (noMore.value == '没有更多了') {
return;
}
var res = await ReplyHttp.replyList(
oid: aid!,
pageNum: currentPage + 1,