Explorar o código

修改参数key错误

Pq hai 7 meses
pai
achega
699f3fdfa7

+ 1 - 1
student/src/main/java/com/cooleshow/student/presenter/course/GroupCoursePresenter.java

@@ -29,7 +29,7 @@ public class GroupCoursePresenter extends BasePresenter<GroupCourseContract.Cour
         JSONObject jsonObject = new JSONObject();
         try {
             if (!TextUtils.isEmpty(status)) {
-                jsonObject.putOpt("courseState", status);
+                jsonObject.putOpt("status", status);
             }
             if (!TextUtils.isEmpty(subjectId)) {
                 jsonObject.putOpt("subjectId", subjectId);

+ 1 - 1
student/src/main/java/com/cooleshow/student/presenter/course/LiveCoursePresenter.java

@@ -32,7 +32,7 @@ public class LiveCoursePresenter extends BasePresenter<LiveCourseContract.LiveCo
         JSONObject jsonObject = new JSONObject();
         try {
             if (!TextUtils.isEmpty(status)) {
-                jsonObject.putOpt("courseState", status);
+                jsonObject.putOpt("status", status);
             }
             if (!TextUtils.isEmpty(subjectId)) {
                 jsonObject.putOpt("subjectId", subjectId);

+ 1 - 1
teacher/src/main/java/com/cooleshow/teacher/presenter/course/GroupCoursePresenter.java

@@ -29,7 +29,7 @@ public class GroupCoursePresenter extends BasePresenter<GroupCourseContract.Cour
         try {
 //            jsonObject.putOpt("classDate", month);
             if (!TextUtils.isEmpty(status)) {
-                jsonObject.putOpt("courseState", status);
+                jsonObject.putOpt("status", status);
             }
             if (!TextUtils.isEmpty(subjectId)) {
                 jsonObject.putOpt("subjectId", subjectId);

+ 1 - 1
teacher/src/main/java/com/cooleshow/teacher/presenter/course/LiveCoursePresenter.java

@@ -28,7 +28,7 @@ public class LiveCoursePresenter extends BasePresenter<LiveCourseContract.LiveCo
         try {
 //            jsonObject.putOpt("classDate", month);
             if (!TextUtils.isEmpty(status)) {
-                jsonObject.putOpt("courseState", status);
+                jsonObject.putOpt("status", status);
             }
             if (!TextUtils.isEmpty(subjectId)) {
                 jsonObject.putOpt("subjectId", subjectId);