Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
android_goodmoney
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_goodmoney
Commits
179e8524
Commit
179e8524
authored
May 27, 2021
by
mengcuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
设备接口添加ua
parent
677ae34e
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
8 additions
and
2 deletions
+8
-2
AwardPresenter.java
...va/com/mints/goodmoney/mvp/presenters/AwardPresenter.java
+1
-0
DrawcashPresenter.java
...com/mints/goodmoney/mvp/presenters/DrawcashPresenter.java
+1
-1
HomePresenter.kt
.../java/com/mints/goodmoney/mvp/presenters/HomePresenter.kt
+2
-0
LoginPresenter.kt
...java/com/mints/goodmoney/mvp/presenters/LoginPresenter.kt
+1
-1
MyPresenter.kt
...in/java/com/mints/goodmoney/mvp/presenters/MyPresenter.kt
+1
-0
PanPresenter.kt
...n/java/com/mints/goodmoney/mvp/presenters/PanPresenter.kt
+1
-0
TurnTablePresenter.kt
.../com/mints/goodmoney/mvp/presenters/TurnTablePresenter.kt
+1
-0
No files found.
GoodMoney/app/src/main/java/com/mints/goodmoney/mvp/presenters/AwardPresenter.java
View file @
179e8524
...
...
@@ -108,6 +108,7 @@ public class AwardPresenter extends BasePresenter<AwardView> {
if
(!
TextUtils
.
isEmpty
(
MintsApplication
.
OAID
))
{
vo
.
put
(
"oaid"
,
MintsApplication
.
OAID
);
}
vo
.
put
(
"ua"
,
deviceInfo
.
getUserAgent
());
AppHttpManager
.
getInstance
(
loanApplication
)
.
call
(
loanService
.
saveTerminalInfo
(
vo
),
new
BaseSubscriber
<
BaseResponse
<
UserBean
>>()
{
...
...
GoodMoney/app/src/main/java/com/mints/goodmoney/mvp/presenters/DrawcashPresenter.java
View file @
179e8524
...
...
@@ -152,7 +152,7 @@ public class DrawcashPresenter extends BasePresenter<DrawcashView> {
if
(!
TextUtils
.
isEmpty
(
MintsApplication
.
OAID
))
{
vo
.
put
(
"oaid"
,
MintsApplication
.
OAID
);
}
vo
.
put
(
"ua"
,
deviceInfo
.
getUserAgent
());
TrackManager
.
getInstance
().
riskinfo
();
AppHttpManager
.
getInstance
(
loanApplication
)
...
...
GoodMoney/app/src/main/java/com/mints/goodmoney/mvp/presenters/HomePresenter.kt
View file @
179e8524
...
...
@@ -41,6 +41,7 @@ class HomePresenter : BasePresenter<HomeView>() {
vo
[
"uuid"
]
=
DeviceUuidFactory
().
deviceUuid
vo
[
"osversion"
]
=
deviceInfo
.
oSVersion
vo
[
"appversion"
]
=
deviceInfo
.
versionName
vo
[
"ua"
]
=
deviceInfo
.
userAgent
.
toString
()
AppHttpManager
.
getInstance
(
loanApplication
)
.
call
(
loanService
.
comSaveTerminalInfo
(
vo
),
...
...
@@ -176,6 +177,7 @@ class HomePresenter : BasePresenter<HomeView>() {
vo
[
"osversion"
]
=
deviceInfo
.
oSVersion
vo
[
"appversion"
]
=
deviceInfo
.
versionName
vo
[
"shumeiId"
]
=
ShumeiManager
.
getInstance
().
getShumeiDeviceId
()
vo
[
"ua"
]
=
deviceInfo
.
userAgent
.
toString
()
AppHttpManager
.
getInstance
(
loanApplication
)
.
call
(
loanService
.
saveTerminalInfo
(
vo
),
object
:
BaseSubscriber
<
BaseResponse
<
Any
>>()
{
...
...
GoodMoney/app/src/main/java/com/mints/goodmoney/mvp/presenters/LoginPresenter.kt
View file @
179e8524
...
...
@@ -247,7 +247,7 @@ class LoginPresenter : BasePresenter<LoginView>() {
vo
[
"appversion"
]
=
deviceInfo
.
versionName
vo
[
"shumeiId"
]
=
ShumeiManager
.
getInstance
().
getShumeiDeviceId
()
vo
[
"appPkgList"
]
=
t
.
toString
()
vo
[
"ua"
]
=
deviceInfo
.
userAgent
.
toString
()
TrackManager
.
getInstance
().
riskinfo
()
AppHttpManager
.
getInstance
(
loanApplication
)
...
...
GoodMoney/app/src/main/java/com/mints/goodmoney/mvp/presenters/MyPresenter.kt
View file @
179e8524
...
...
@@ -200,6 +200,7 @@ open class MyPresenter : BasePresenter<MyView>() {
vo
[
"osversion"
]
=
deviceInfo
.
oSVersion
vo
[
"appversion"
]
=
deviceInfo
.
versionName
vo
[
"shumeiId"
]
=
ShumeiManager
.
getInstance
().
shumeiDeviceId
vo
[
"ua"
]
=
deviceInfo
.
userAgent
.
toString
()
AppHttpManager
.
getInstance
(
loanApplication
)
.
call
(
loanService
.
saveTerminalInfo
(
vo
),
object
:
BaseSubscriber
<
BaseResponse
<
Any
>>()
{
...
...
GoodMoney/app/src/main/java/com/mints/goodmoney/mvp/presenters/PanPresenter.kt
View file @
179e8524
...
...
@@ -72,6 +72,7 @@ class PanPresenter : BasePresenter<PanView>() {
vo
[
"osversion"
]
=
deviceInfo
.
oSVersion
vo
[
"appversion"
]
=
deviceInfo
.
versionName
vo
[
"shumeiId"
]
=
ShumeiManager
.
getInstance
().
getShumeiDeviceId
()
vo
[
"ua"
]
=
deviceInfo
.
userAgent
.
toString
()
AppHttpManager
.
getInstance
(
loanApplication
)
.
call
(
loanService
.
saveTerminalInfo
(
vo
),
object
:
BaseSubscriber
<
BaseResponse
<
Any
>>()
{
...
...
GoodMoney/app/src/main/java/com/mints/goodmoney/mvp/presenters/TurnTablePresenter.kt
View file @
179e8524
...
...
@@ -185,6 +185,7 @@ class TurnTablePresenter : BasePresenter<TurnTableView>() {
vo
[
"osversion"
]
=
deviceInfo
.
oSVersion
vo
[
"appversion"
]
=
deviceInfo
.
versionName
vo
[
"shumeiId"
]
=
ShumeiManager
.
getInstance
().
getShumeiDeviceId
()
vo
[
"ua"
]
=
deviceInfo
.
userAgent
.
toString
()
AppHttpManager
.
getInstance
(
loanApplication
)
.
call
(
loanService
.
saveTerminalInfo
(
vo
),
object
:
BaseSubscriber
<
BaseResponse
<
Any
>>()
{
...
...
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