Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
android_fiveworld
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_fiveworld
Commits
3908a45e
Commit
3908a45e
authored
Dec 14, 2021
by
mengcuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化
parent
54553e0a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
7 deletions
+3
-7
RiskBean.kt
app/src/main/java/com/mints/fiveworld/mvp/model/RiskBean.kt
+3
-3
TrackPresenter.java
...va/com/mints/fiveworld/mvp/presenters/TrackPresenter.java
+0
-4
No files found.
app/src/main/java/com/mints/fiveworld/mvp/model/RiskBean.kt
View file @
3908a45e
...
...
@@ -8,7 +8,7 @@ import java.io.Serializable
data class
RiskBean
(
val
msg
:
String
=
""
,
//提示msg字段内容
val
isRiskUser
:
Boolean
=
false
,
//true-命中风控
val
innerAdOpen
:
Boolean
=
tru
e
,
//应用内开关
val
outerAdOpen
:
Boolean
=
tru
e
,
//应用外开关
val
t5LogicOpen
:
Boolean
=
tru
e
,
//同5逻辑
val
innerAdOpen
:
Boolean
=
fals
e
,
//应用内开关
val
outerAdOpen
:
Boolean
=
fals
e
,
//应用外开关
val
t5LogicOpen
:
Boolean
=
fals
e
,
//同5逻辑
)
:
Serializable
\ No newline at end of file
app/src/main/java/com/mints/fiveworld/mvp/presenters/TrackPresenter.java
View file @
3908a45e
...
...
@@ -143,8 +143,6 @@ public class TrackPresenter extends BaseTrackPresenter {
}
}
else
{
// 未命中
AntiAuditManager
.
Companion
.
getInstance
().
setBlack
(
false
);
AntiAuditManager
.
Companion
.
getInstance
().
resetBlack
(
baseResponse
.
getData
().
getInnerAdOpen
(),
baseResponse
.
getData
().
getOuterAdOpen
(),
Constant
.
CARRIER_APP
);
WifiDataManager
.
INSTANCE
.
setAppInFive
(
baseResponse
.
getData
().
getT5LogicOpen
());
}
...
...
@@ -216,8 +214,6 @@ public class TrackPresenter extends BaseTrackPresenter {
TrackManager
.
getInstance
().
riskCmtInfo
();
}
else
{
// 未命中
AntiAuditManager
.
Companion
.
getInstance
().
setBlack
(
false
);
AntiAuditManager
.
Companion
.
getInstance
().
resetBlack
(
baseResponse
.
getData
().
getInnerAdOpen
(),
baseResponse
.
getData
().
getOuterAdOpen
(),
Constant
.
CARRIER_APP
);
WifiDataManager
.
INSTANCE
.
setAppInFive
(
baseResponse
.
getData
().
getT5LogicOpen
());
}
...
...
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