From 14a3eeebf2d1977c84da33e02d363dabff4e02a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=80=81=E7=9A=AE?= <14840170+lao-pi123@user.noreply.gitee.com> Date: Tue, 8 Oct 2024 15:32:47 +0800 Subject: [PATCH] =?UTF-8?q?1=E3=80=81Live.setReport=E5=A2=9E=E5=8A=A0app?= =?UTF-8?q?=5Ftype=E5=AD=97=E6=AE=B5=202=E3=80=81app=5Ftype=E5=AD=97?= =?UTF-8?q?=E6=AE=B5=E7=9A=84=E5=80=BC=E4=BC=A0=201=E4=BB=A3=E8=A1=A8PD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/src/main/java/com/yunbao/common/http/LiveHttpUtil.java | 2 ++ .../main/java/com/yunbao/common/http/live/LiveNetManager.java | 2 +- .../yunbao/common/manager/imrongcloud/MessageIMManager.java | 4 ++-- live/src/main/java/com/yunbao/live/http/ImHttpUtil.java | 4 ++-- 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/common/src/main/java/com/yunbao/common/http/LiveHttpUtil.java b/common/src/main/java/com/yunbao/common/http/LiveHttpUtil.java index 1dbb4c10c..4371d3445 100644 --- a/common/src/main/java/com/yunbao/common/http/LiveHttpUtil.java +++ b/common/src/main/java/com/yunbao/common/http/LiveHttpUtil.java @@ -237,6 +237,7 @@ public class LiveHttpUtil { HttpClient.getInstance().get("Live.setReport", LiveHttpConsts.SET_REPORT) .params("touid", touid) .params("content", content) + .params("app_type", "1") .execute(callback); } @@ -248,6 +249,7 @@ public class LiveHttpUtil { .isMultipart(true) .params("touid", touid) .params("report_argument", report_argument) + .params("app_type", "1") .params("content", content); if (file1 != null) { request.params("file1", file1); diff --git a/common/src/main/java/com/yunbao/common/http/live/LiveNetManager.java b/common/src/main/java/com/yunbao/common/http/live/LiveNetManager.java index 1fcca3bf0..a46170eb8 100644 --- a/common/src/main/java/com/yunbao/common/http/live/LiveNetManager.java +++ b/common/src/main/java/com/yunbao/common/http/live/LiveNetManager.java @@ -1175,7 +1175,7 @@ public class LiveNetManager { public void getListInfo(String type, int p, HttpCallback> callback) { API.get().pdLiveApi(mContext) - .getListInfo(type, p,"PD") + .getListInfo(type, p,"1") .subscribeOn(Schedulers.io()) .observeOn(AndroidSchedulers.mainThread()) .subscribe(listResponseModel -> { diff --git a/common/src/main/java/com/yunbao/common/manager/imrongcloud/MessageIMManager.java b/common/src/main/java/com/yunbao/common/manager/imrongcloud/MessageIMManager.java index 5f6e8dca2..296b4475d 100644 --- a/common/src/main/java/com/yunbao/common/manager/imrongcloud/MessageIMManager.java +++ b/common/src/main/java/com/yunbao/common/manager/imrongcloud/MessageIMManager.java @@ -104,7 +104,7 @@ public class MessageIMManager { HttpClient.getInstance().get("Message.getLists", "getImUserInfo") .params("uid", userInfo.getId()) .params("token", userInfo.getToken()) - .params("app_type", "PD") + .params("app_type", "1") .execute(new HttpCallback() { @Override public void onSuccess(int code, String msg, String[] info) { @@ -168,7 +168,7 @@ public class MessageIMManager { HttpClient.getInstance().get("Message.getLists", "getImUserInfo") .params("uid", userInfo.getId()) .params("token", userInfo.getToken()) - .params("app_type", "PD") + .params("app_type", "1") .execute(new HttpCallback() { @Override public void onSuccess(int code, String msg, String[] info) { diff --git a/live/src/main/java/com/yunbao/live/http/ImHttpUtil.java b/live/src/main/java/com/yunbao/live/http/ImHttpUtil.java index 83f073400..63753c136 100644 --- a/live/src/main/java/com/yunbao/live/http/ImHttpUtil.java +++ b/live/src/main/java/com/yunbao/live/http/ImHttpUtil.java @@ -21,7 +21,7 @@ public class ImHttpUtil { */ public static void getImUserInfo(String uids, HttpCallback callback) { HttpClient.getInstance().get("Message.getLists", ImHttpConsts.GET_IM_USER_INFO) - .params("app_type", "PD") + .params("app_type", "1") .execute(callback); } @@ -43,7 +43,7 @@ public class ImHttpUtil { HttpClient.getInstance().get("Message.getListInfo", ImHttpConsts.GET_SYSTEM_MESSAGE_LIST) .params("p", p) .params("type", type) - .params("app_type", "PD") + .params("app_type", "1") .execute(callback); }