Commit 03dd8636 authored by mengcuiguang's avatar mengcuiguang

添加数美id

parent e82dfb9b
...@@ -120,6 +120,7 @@ class HomePresenter : BasePresenter<HomeView>() { ...@@ -120,6 +120,7 @@ class HomePresenter : BasePresenter<HomeView>() {
*/ */
fun userLogin() { fun userLogin() {
val vo = HashMap<String, Any>() val vo = HashMap<String, Any>()
vo["shumeiId"] = ShumeiManager.getInstance().shumeiDeviceId
vo["device"] = DeviceUuidFactory().deviceUuid.toString() vo["device"] = DeviceUuidFactory().deviceUuid.toString()
AppHttpManager.getInstance(loanApplication) AppHttpManager.getInstance(loanApplication)
.call(loanService.visitorlogin(vo), .call(loanService.visitorlogin(vo),
......
...@@ -27,6 +27,7 @@ class LoginPresenter : BasePresenter<LoginView>() { ...@@ -27,6 +27,7 @@ class LoginPresenter : BasePresenter<LoginView>() {
val vo = HashMap<String, Any>() val vo = HashMap<String, Any>()
vo["mobile"] = mobile vo["mobile"] = mobile
vo["type"] = 1 vo["type"] = 1
vo["shumeiId"] = ShumeiManager.getInstance().shumeiDeviceId
AppHttpManager.getInstance(loanApplication) AppHttpManager.getInstance(loanApplication)
.call(loanService.sendMobileCode(vo), .call(loanService.sendMobileCode(vo),
object : BaseSubscriber<BaseResponse<Any>>() { object : BaseSubscriber<BaseResponse<Any>>() {
...@@ -62,6 +63,7 @@ class LoginPresenter : BasePresenter<LoginView>() { ...@@ -62,6 +63,7 @@ class LoginPresenter : BasePresenter<LoginView>() {
fun bindingMobile(mobile: String, smsCode: String) { fun bindingMobile(mobile: String, smsCode: String) {
view.showLoading("加载中...") view.showLoading("加载中...")
val vo = HashMap<String, Any>() val vo = HashMap<String, Any>()
vo["shumeiId"] = ShumeiManager.getInstance().shumeiDeviceId
vo["mobile"] = mobile vo["mobile"] = mobile
vo["smsCode"] = smsCode vo["smsCode"] = smsCode
vo["device"] = DeviceUuidFactory().deviceUuid.toString() vo["device"] = DeviceUuidFactory().deviceUuid.toString()
...@@ -101,6 +103,7 @@ class LoginPresenter : BasePresenter<LoginView>() { ...@@ -101,6 +103,7 @@ class LoginPresenter : BasePresenter<LoginView>() {
fun login(mobile: String, smsCode: String) { fun login(mobile: String, smsCode: String) {
view.showLoading("加载中...") view.showLoading("加载中...")
val vo = HashMap<String, Any>() val vo = HashMap<String, Any>()
vo["shumeiId"] = ShumeiManager.getInstance().shumeiDeviceId
vo["mobile"] = mobile vo["mobile"] = mobile
vo["smsCode"] = smsCode vo["smsCode"] = smsCode
vo["device"] = DeviceUuidFactory().deviceUuid.toString() vo["device"] = DeviceUuidFactory().deviceUuid.toString()
......
...@@ -187,6 +187,7 @@ class MyPresenter : BasePresenter<MyView>() { ...@@ -187,6 +187,7 @@ class MyPresenter : BasePresenter<MyView>() {
*/ */
fun userLogin() { fun userLogin() {
val vo = HashMap<String, Any>() val vo = HashMap<String, Any>()
vo["shumeiId"] = ShumeiManager.getInstance().shumeiDeviceId
vo["device"] = DeviceUuidFactory().deviceUuid.toString() vo["device"] = DeviceUuidFactory().deviceUuid.toString()
AppHttpManager.getInstance(loanApplication) AppHttpManager.getInstance(loanApplication)
.call(loanService.visitorlogin(vo), .call(loanService.visitorlogin(vo),
......
...@@ -25,6 +25,7 @@ class PanPresenter : BasePresenter<PanView>() { ...@@ -25,6 +25,7 @@ class PanPresenter : BasePresenter<PanView>() {
fun userLogin() { fun userLogin() {
val vo = HashMap<String, Any>() val vo = HashMap<String, Any>()
vo["device"] = DeviceUuidFactory().deviceUuid.toString() vo["device"] = DeviceUuidFactory().deviceUuid.toString()
vo["shumeiId"] = ShumeiManager.getInstance().shumeiDeviceId
AppHttpManager.getInstance(loanApplication) AppHttpManager.getInstance(loanApplication)
.call(loanService.visitorlogin(vo), .call(loanService.visitorlogin(vo),
object : BaseSubscriber<BaseResponse<UserBean>>() { object : 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