Post a post

This commit is contained in:
2024-05-19 18:01:00 +08:00
parent 527db6b3bc
commit 803cbd8c4b
10 changed files with 241 additions and 60 deletions

View File

@ -7,5 +7,5 @@ class PostExploreProvider extends GetConnect {
httpClient.baseUrl = ServiceFinder.services['interactive'];
}
Future<Response> listPost(int page) => get('/api/feed?take=${10}&offset=${page * 10}');
Future<Response> listPost(int page) => get('/api/feed?take=${10}&offset=$page');
}