Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
android_highgold
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
android
android_highgold
Commits
30fcc72f
Commit
30fcc72f
authored
Apr 29, 2020
by
mengcuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tempuuid存为极光id
parent
11de4d92
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
32 additions
and
5 deletions
+32
-5
DrawcashPresenter.java
.../com/mints/highgold/mvp/presenters/DrawcashPresenter.java
+7
-1
LoanPresenter.java
...java/com/mints/highgold/mvp/presenters/LoanPresenter.java
+11
-2
LoginPresenter.java
...ava/com/mints/highgold/mvp/presenters/LoginPresenter.java
+7
-1
WxLoginPresenter.java
...a/com/mints/highgold/mvp/presenters/WxLoginPresenter.java
+7
-1
No files found.
highgold/app/src/main/java/com/mints/highgold/mvp/presenters/DrawcashPresenter.java
View file @
30fcc72f
...
...
@@ -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
),
...
...
highgold/app/src/main/java/com/mints/highgold/mvp/presenters/LoanPresenter.java
View file @
30fcc72f
...
...
@@ -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
>>()
{
...
...
highgold/app/src/main/java/com/mints/highgold/mvp/presenters/LoginPresenter.java
View file @
30fcc72f
...
...
@@ -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
>>()
{
...
...
highgold/app/src/main/java/com/mints/highgold/mvp/presenters/WxLoginPresenter.java
View file @
30fcc72f
...
...
@@ -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
>>()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment