新版本潘多APP

增加一个  app_from = PDL 的值 判定是不是潘多拉的用户
This commit is contained in:
Martin 2024-09-06 11:12:07 +08:00
parent 319fa3c498
commit ddbce1bdbf
3 changed files with 3 additions and 1 deletions

View File

@ -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
);

View File

@ -55,7 +55,7 @@ public class MainNetManager {
* @param callback 网络请求回调
*/
public void login(String phoneNum, String pwd, String uuid, HttpCallback<IMLoginModel> 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<ResponseModel<IMLoginModel>>() {

View File

@ -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")