提交 58f4d2b1 authored 作者: yueweilu's avatar yueweilu

图书馆 广告参数

上级 2aa53ea1
......@@ -195,7 +195,7 @@ class LibraryController extends GetxController with GetTickerProviderStateMixin{
/// 获取广告数据
void _getAds() async {
ads = await CommonAPI.list(type: '1');
ads = await CommonAPI.list(type: '3');
update();
}
......@@ -306,6 +306,7 @@ class LibraryController extends GetxController with GetTickerProviderStateMixin{
/// 获取图书列表数据
Future<void> _getBooks([bool isRefresh = false]) async {
_getAds();
String sort = '';
if (selectedDown.id !=null){
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论