提交 35e6490f authored 作者: yueweilu's avatar yueweilu

参数错误

上级 f23951fb
...@@ -42,7 +42,7 @@ abstract class LibraryAPI { ...@@ -42,7 +42,7 @@ abstract class LibraryAPI {
}) async { }) async {
Map<String,dynamic> params = { Map<String,dynamic> params = {
'page' : page, 'page' : page,
'limit' : limit, 'page_size' : limit,
'category_id':categoryId 'category_id':categoryId
}; };
if (sortField.isNotEmpty){ if (sortField.isNotEmpty){
......
...@@ -43,7 +43,7 @@ class LibraryController extends GetxController with GetTickerProviderStateMixin{ ...@@ -43,7 +43,7 @@ class LibraryController extends GetxController with GetTickerProviderStateMixin{
]; ];
final int _limit = 20; final int _limit = 10;
int _page = 1; int _page = 1;
bool _noMore = false; bool _noMore = false;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论