feat: 稍后再看下拉刷新
This commit is contained in:
@ -22,11 +22,11 @@ class LaterController extends GetxController {
|
||||
userInfo = userInfoCache.get('userInfoCache');
|
||||
}
|
||||
|
||||
Future queryLaterList() async {
|
||||
Future queryLaterList({type = 'init'}) async {
|
||||
if (userInfo == null) {
|
||||
return {'status': false, 'msg': '账号未登录', 'code': -101};
|
||||
}
|
||||
isLoading.value = true;
|
||||
isLoading.value = type == 'init';
|
||||
var res = await UserHttp.seeYouLater();
|
||||
if (res['status']) {
|
||||
count = res['data']['count'];
|
||||
|
||||
Reference in New Issue
Block a user