1、Live.setReport增加app_type字段
2、app_type字段的值传 1代表PD
This commit is contained in:
parent
ef09d9c58a
commit
14a3eeebf2
@ -237,6 +237,7 @@ public class LiveHttpUtil {
|
|||||||
HttpClient.getInstance().get("Live.setReport", LiveHttpConsts.SET_REPORT)
|
HttpClient.getInstance().get("Live.setReport", LiveHttpConsts.SET_REPORT)
|
||||||
.params("touid", touid)
|
.params("touid", touid)
|
||||||
.params("content", content)
|
.params("content", content)
|
||||||
|
.params("app_type", "1")
|
||||||
.execute(callback);
|
.execute(callback);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -248,6 +249,7 @@ public class LiveHttpUtil {
|
|||||||
.isMultipart(true)
|
.isMultipart(true)
|
||||||
.params("touid", touid)
|
.params("touid", touid)
|
||||||
.params("report_argument", report_argument)
|
.params("report_argument", report_argument)
|
||||||
|
.params("app_type", "1")
|
||||||
.params("content", content);
|
.params("content", content);
|
||||||
if (file1 != null) {
|
if (file1 != null) {
|
||||||
request.params("file1", file1);
|
request.params("file1", file1);
|
||||||
|
@ -1175,7 +1175,7 @@ public class LiveNetManager {
|
|||||||
|
|
||||||
public void getListInfo(String type, int p, HttpCallback<List<ListInfoMessageModel>> callback) {
|
public void getListInfo(String type, int p, HttpCallback<List<ListInfoMessageModel>> callback) {
|
||||||
API.get().pdLiveApi(mContext)
|
API.get().pdLiveApi(mContext)
|
||||||
.getListInfo(type, p,"PD")
|
.getListInfo(type, p,"1")
|
||||||
.subscribeOn(Schedulers.io())
|
.subscribeOn(Schedulers.io())
|
||||||
.observeOn(AndroidSchedulers.mainThread())
|
.observeOn(AndroidSchedulers.mainThread())
|
||||||
.subscribe(listResponseModel -> {
|
.subscribe(listResponseModel -> {
|
||||||
|
@ -104,7 +104,7 @@ public class MessageIMManager {
|
|||||||
HttpClient.getInstance().get("Message.getLists", "getImUserInfo")
|
HttpClient.getInstance().get("Message.getLists", "getImUserInfo")
|
||||||
.params("uid", userInfo.getId())
|
.params("uid", userInfo.getId())
|
||||||
.params("token", userInfo.getToken())
|
.params("token", userInfo.getToken())
|
||||||
.params("app_type", "PD")
|
.params("app_type", "1")
|
||||||
.execute(new HttpCallback() {
|
.execute(new HttpCallback() {
|
||||||
@Override
|
@Override
|
||||||
public void onSuccess(int code, String msg, String[] info) {
|
public void onSuccess(int code, String msg, String[] info) {
|
||||||
@ -168,7 +168,7 @@ public class MessageIMManager {
|
|||||||
HttpClient.getInstance().get("Message.getLists", "getImUserInfo")
|
HttpClient.getInstance().get("Message.getLists", "getImUserInfo")
|
||||||
.params("uid", userInfo.getId())
|
.params("uid", userInfo.getId())
|
||||||
.params("token", userInfo.getToken())
|
.params("token", userInfo.getToken())
|
||||||
.params("app_type", "PD")
|
.params("app_type", "1")
|
||||||
.execute(new HttpCallback() {
|
.execute(new HttpCallback() {
|
||||||
@Override
|
@Override
|
||||||
public void onSuccess(int code, String msg, String[] info) {
|
public void onSuccess(int code, String msg, String[] info) {
|
||||||
|
@ -21,7 +21,7 @@ public class ImHttpUtil {
|
|||||||
*/
|
*/
|
||||||
public static void getImUserInfo(String uids, HttpCallback callback) {
|
public static void getImUserInfo(String uids, HttpCallback callback) {
|
||||||
HttpClient.getInstance().get("Message.getLists", ImHttpConsts.GET_IM_USER_INFO)
|
HttpClient.getInstance().get("Message.getLists", ImHttpConsts.GET_IM_USER_INFO)
|
||||||
.params("app_type", "PD")
|
.params("app_type", "1")
|
||||||
.execute(callback);
|
.execute(callback);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -43,7 +43,7 @@ public class ImHttpUtil {
|
|||||||
HttpClient.getInstance().get("Message.getListInfo", ImHttpConsts.GET_SYSTEM_MESSAGE_LIST)
|
HttpClient.getInstance().get("Message.getListInfo", ImHttpConsts.GET_SYSTEM_MESSAGE_LIST)
|
||||||
.params("p", p)
|
.params("p", p)
|
||||||
.params("type", type)
|
.params("type", type)
|
||||||
.params("app_type", "PD")
|
.params("app_type", "1")
|
||||||
.execute(callback);
|
.execute(callback);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user