1、Live.setReport增加app_type字段
2、app_type字段的值传 1代表PD
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -1175,7 +1175,7 @@ public class LiveNetManager {
|
||||
|
||||
public void getListInfo(String type, int p, HttpCallback<List<ListInfoMessageModel>> callback) {
|
||||
API.get().pdLiveApi(mContext)
|
||||
.getListInfo(type, p,"PD")
|
||||
.getListInfo(type, p,"1")
|
||||
.subscribeOn(Schedulers.io())
|
||||
.observeOn(AndroidSchedulers.mainThread())
|
||||
.subscribe(listResponseModel -> {
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user