Commit 30fcc72f authored by mengcuiguang's avatar mengcuiguang

tempuuid存为极光id

parent 11de4d92
......@@ -24,6 +24,8 @@ import com.mints.library.utils.json.JsonUtil;
import java.util.HashMap;
import cn.jpush.android.api.JPushInterface;
public class DrawcashPresenter extends BasePresenter<DrawcashView> {
/**
......@@ -230,7 +232,11 @@ public class DrawcashPresenter extends BasePresenter<DrawcashView> {
vo.put("appPkgList", deviceInfo.getPkgInfo(context));
vo.put("oaid", DevicesUtil.getOaid());
vo.put("tempuuid", DevicesUtil.getUniquePsuedoID());
try {
vo.put("tempuuid", JPushInterface.getRegistrationID(context));
} catch (Exception e) {
e.printStackTrace();
}
AppHttpManager.getInstance(loanApplication)
.call(loanService.saveTerminalInfo(vo),
......
......@@ -28,6 +28,7 @@ import com.mints.library.utils.json.JsonUtil;
import java.util.HashMap;
import cn.jpush.android.api.JPushInterface;
import rx.Observable;
public class LoanPresenter extends BasePresenter<LoanView> {
......@@ -554,7 +555,11 @@ public class LoanPresenter extends BasePresenter<LoanView> {
vo.put("appversion", deviceInfo.getVersionName());
vo.put("appPkgList", deviceInfo.getPkgInfo(context));
vo.put("oaid", DevicesUtil.getOaid());
vo.put("tempuuid", DevicesUtil.getUniquePsuedoID());
try {
vo.put("tempuuid", JPushInterface.getRegistrationID(context));
} catch (Exception e) {
e.printStackTrace();
}
AppHttpManager.getInstance(loanApplication)
.call(loanService.saveTerminalInfo(vo),
new BaseSubscriber<BaseResponse<Object>>() {
......@@ -641,7 +646,11 @@ public class LoanPresenter extends BasePresenter<LoanView> {
vo.put("appversion", deviceInfo.getVersionName());
vo.put("appPkgList", deviceInfo.getPkgInfo(context));
vo.put("oaid", DevicesUtil.getOaid());
vo.put("tempuuid", DevicesUtil.getUniquePsuedoID());
try {
vo.put("tempuuid", JPushInterface.getRegistrationID(context));
} catch (Exception e) {
e.printStackTrace();
}
AppHttpManager.getInstance(loanApplication)
.call(loanService.saveTerminalInfo(vo),
new BaseSubscriber<BaseResponse<UserBean>>() {
......
......@@ -24,6 +24,8 @@ import com.mints.library.utils.json.JsonUtil;
import java.util.HashMap;
import cn.jpush.android.api.JPushInterface;
public class LoginPresenter extends BasePresenter<LoginView> {
private UserBean.ConsumerBean consumer;
......@@ -322,7 +324,11 @@ public class LoginPresenter extends BasePresenter<LoginView> {
vo.put("appversion", deviceInfo.getVersionName());
vo.put("appPkgList", deviceInfo.getPkgInfo(context));
vo.put("oaid", DevicesUtil.getOaid());
vo.put("tempuuid", DevicesUtil.getUniquePsuedoID());
try {
vo.put("tempuuid", JPushInterface.getRegistrationID(context));
} catch (Exception e) {
e.printStackTrace();
}
AppHttpManager.getInstance(loanApplication)
.call(loanService.saveTerminalInfo(vo),
new BaseSubscriber<BaseResponse<UserBean>>() {
......
......@@ -23,6 +23,8 @@ import com.mints.library.utils.json.JsonUtil;
import java.util.HashMap;
import cn.jpush.android.api.JPushInterface;
public class WxLoginPresenter extends BasePresenter<WxLoginView> {
private UserBean.ConsumerBean consumer;
......@@ -156,7 +158,11 @@ public class WxLoginPresenter extends BasePresenter<WxLoginView> {
vo.put("appversion", deviceInfo.getVersionName());
vo.put("appPkgList", deviceInfo.getPkgInfo(context));
vo.put("oaid", DevicesUtil.getOaid());
vo.put("tempuuid", DevicesUtil.getUniquePsuedoID());
try {
vo.put("tempuuid", JPushInterface.getRegistrationID(context));
} catch (Exception e) {
e.printStackTrace();
}
AppHttpManager.getInstance(loanApplication)
.call(loanService.saveTerminalInfo(vo),
new BaseSubscriber<BaseResponse<UserBean>>() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment