新版本潘多APP
增加一个 app_from = PDL 的值 判定是不是潘多拉的用户
This commit is contained in:
parent
319fa3c498
commit
ddbce1bdbf
@ -40,6 +40,7 @@ public interface PDLiveApi {
|
|||||||
@Field("user_pass") String passWord,
|
@Field("user_pass") String passWord,
|
||||||
@Field("uuid_Device") String uuidDevice,
|
@Field("uuid_Device") String uuidDevice,
|
||||||
@Field("pushid") String pushid,
|
@Field("pushid") String pushid,
|
||||||
|
@Field("app_from") String PDL,
|
||||||
@Field("lastlogindevice") String lastlogindevice,
|
@Field("lastlogindevice") String lastlogindevice,
|
||||||
@Field("langue") String langue
|
@Field("langue") String langue
|
||||||
);
|
);
|
||||||
|
@ -55,7 +55,7 @@ public class MainNetManager {
|
|||||||
* @param callback 网络请求回调
|
* @param callback 网络请求回调
|
||||||
*/
|
*/
|
||||||
public void login(String phoneNum, String pwd, String uuid, HttpCallback<IMLoginModel> 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())
|
.subscribeOn(Schedulers.io())
|
||||||
.observeOn(AndroidSchedulers.mainThread())
|
.observeOn(AndroidSchedulers.mainThread())
|
||||||
.subscribe(new Consumer<ResponseModel<IMLoginModel>>() {
|
.subscribe(new Consumer<ResponseModel<IMLoginModel>>() {
|
||||||
|
@ -49,6 +49,7 @@ public class MainHttpUtil {
|
|||||||
.params("user_login", phoneNum)
|
.params("user_login", phoneNum)
|
||||||
.params("user_pass", pwd)
|
.params("user_pass", pwd)
|
||||||
.params("pushid", "")
|
.params("pushid", "")
|
||||||
|
.params("app_from", "PDL")
|
||||||
.params("lastlogindevice", "Android")
|
.params("lastlogindevice", "Android")
|
||||||
.params("uuid_Device", uuid)
|
.params("uuid_Device", uuid)
|
||||||
.params("langue", WordUtil.isNewZh()?"chinese":"english")
|
.params("langue", WordUtil.isNewZh()?"chinese":"english")
|
||||||
|
Loading…
Reference in New Issue
Block a user