Commit aeadd0bf authored by 陈前's avatar 陈前

大吉大利+3

parent 13c89e0c
......@@ -102,7 +102,7 @@ public class StatisticsPresenter extends StatisticsContract.Presenter {
@Override
public void getTicketList(int pageNumber, UsedTicketListFragment msListFragment) {
mView.isShowLoading(true);
ApiFactory.Ticket.query(pageNumber, nowPageSize, 1).doFinally(()-> mView.isShowLoading(false))
ApiFactory.Ticket.query(pageNumber, nowPageSize, 2).doFinally(()-> mView.isShowLoading(false))
.subscribe(ticketPager -> {
msListFragment.setData(ticketPager, ticketPager.isFirstPage());
}, throwable -> {
......@@ -113,7 +113,7 @@ public class StatisticsPresenter extends StatisticsContract.Presenter {
@Override
public void getTicketList(int pageNumber, long startDate, long endDate) {
mView.isShowLoading(true);
ApiFactory.Ticket.query(pageNumber, nowPageSize, 1, startDate, endDate).doFinally(()-> mView.isShowLoading(false))
ApiFactory.Ticket.query(pageNumber, nowPageSize, 2, startDate, endDate).doFinally(()-> mView.isShowLoading(false))
.subscribe(ticketPager -> {
if (ticketPager.getList() == null || ticketPager.getList().size() == 0) {
ToastUtils.showShort("没有查询到相关优惠券");
......
......@@ -113,6 +113,7 @@
android:layout_height="wrap_content"
android:layout_margin="@dimen/all_margin"
android:src="@mipmap/drop_down_fff"
android:visibility="gone"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent" />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment