getReadHistory method
获取用户阅读历史
page 页码(可选,默认1)
count 每页数量(可选,默认20)
Implementation
Future<List<StoryInfo>> getReadHistory({int page = 1, int count = 20}) async {
try {
return await PangrowthContent.getStoryHistory(page: page, count: count);
} catch (e) {
debugPrint('获取阅读历史失败: $e');
return [];
}
}