Browse Source

修改老师端首页热门专辑接口item数量限制

Pq 7 months ago
parent
commit
12ecc643cb

+ 2 - 0
teacher/src/main/java/com/cooleshow/teacher/presenter/main/HomePresenter.java

@@ -187,6 +187,8 @@ public class HomePresenter extends BasePresenter<HomeContract.HomeView> implemen
             if (!TextUtils.isEmpty(currentSubjectId)) {
                 jsonObject.putOpt("subjectIds", currentSubjectId);
             }
+            jsonObject.putOpt("page", 1);
+            jsonObject.putOpt("rows", Constants.DEFAULT_DATA_SIZE);
         } catch (JSONException e) {
             e.printStackTrace();
         }