From ddbce1bdbf5c164d616729874c7f7a79738a869b Mon Sep 17 00:00:00 2001 From: Martin <13046765170@163.com> Date: Fri, 6 Sep 2024 11:12:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E7=89=88=E6=9C=AC=E6=BD=98=E5=A4=9AAP?= =?UTF-8?q?P=20=E5=A2=9E=E5=8A=A0=E4=B8=80=E4=B8=AA=20=20app=5Ffrom=20=3D?= =?UTF-8?q?=20PDL=20=E7=9A=84=E5=80=BC=20=E5=88=A4=E5=AE=9A=E6=98=AF?= =?UTF-8?q?=E4=B8=8D=E6=98=AF=E6=BD=98=E5=A4=9A=E6=8B=89=E7=9A=84=E7=94=A8?= =?UTF-8?q?=E6=88=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/src/main/java/com/yunbao/common/http/PDLiveApi.java | 1 + .../main/java/com/yunbao/common/http/main/MainNetManager.java | 2 +- main/src/main/java/com/yunbao/main/http/MainHttpUtil.java | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/common/src/main/java/com/yunbao/common/http/PDLiveApi.java b/common/src/main/java/com/yunbao/common/http/PDLiveApi.java index 5e1aeff3c..eda31c170 100644 --- a/common/src/main/java/com/yunbao/common/http/PDLiveApi.java +++ b/common/src/main/java/com/yunbao/common/http/PDLiveApi.java @@ -40,6 +40,7 @@ public interface PDLiveApi { @Field("user_pass") String passWord, @Field("uuid_Device") String uuidDevice, @Field("pushid") String pushid, + @Field("app_from") String PDL, @Field("lastlogindevice") String lastlogindevice, @Field("langue") String langue ); diff --git a/common/src/main/java/com/yunbao/common/http/main/MainNetManager.java b/common/src/main/java/com/yunbao/common/http/main/MainNetManager.java index 00dd5a6bc..e736e30c6 100644 --- a/common/src/main/java/com/yunbao/common/http/main/MainNetManager.java +++ b/common/src/main/java/com/yunbao/common/http/main/MainNetManager.java @@ -55,7 +55,7 @@ public class MainNetManager { * @param callback 网络请求回调 */ public void login(String phoneNum, String pwd, String uuid, HttpCallback callback) { - API.get().pdLiveApi(mContext).loginByManager(phoneNum, pwd, uuid, "", "Android", WordUtil.isNewZh()?"chinese":"english") + API.get().pdLiveApi(mContext).loginByManager(phoneNum, pwd, uuid, "", "PDL","Android", WordUtil.isNewZh()?"chinese":"english") .subscribeOn(Schedulers.io()) .observeOn(AndroidSchedulers.mainThread()) .subscribe(new Consumer>() { diff --git a/main/src/main/java/com/yunbao/main/http/MainHttpUtil.java b/main/src/main/java/com/yunbao/main/http/MainHttpUtil.java index b66332705..9eb1c2820 100644 --- a/main/src/main/java/com/yunbao/main/http/MainHttpUtil.java +++ b/main/src/main/java/com/yunbao/main/http/MainHttpUtil.java @@ -49,6 +49,7 @@ public class MainHttpUtil { .params("user_login", phoneNum) .params("user_pass", pwd) .params("pushid", "") + .params("app_from", "PDL") .params("lastlogindevice", "Android") .params("uuid_Device", uuid) .params("langue", WordUtil.isNewZh()?"chinese":"english")