Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
S
SuperEasyClean
Project
Project
Details
Activity
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
songjianyu
SuperEasyClean
Commits
182f61bd
Commit
182f61bd
authored
Jun 11, 2025
by
songjianyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[调整] 打开广告开关, 合并出错事件上报
parent
dca3023c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
LimitUtils.kt
...src/main/java/com/base/appzxhy/business/ads/LimitUtils.kt
+1
-1
AdmobEvent.kt
...in/java/com/base/appzxhy/business/ads/admob/AdmobEvent.kt
+3
-0
No files found.
app/src/main/java/com/base/appzxhy/business/ads/LimitUtils.kt
View file @
182f61bd
...
...
@@ -82,7 +82,7 @@ object LimitUtils {
fun
isAdShow
(
adsType
:
AdsType
,
adEvent
:
AdEvent
?):
Boolean
{
if
(
BuildConfig
.
DEBUG
)
{
return
fals
e
return
tru
e
}
val
currentDate
=
System
.
currentTimeMillis
().
toFormatTime4
()
...
...
app/src/main/java/com/base/appzxhy/business/ads/admob/AdmobEvent.kt
View file @
182f61bd
...
...
@@ -62,11 +62,14 @@ class AdmobEvent : AdEvent {
obj
.
put
(
"networkname"
,
responseInfo
?.
mediationAdapterClassName
)
obj
.
put
(
"ad_unit"
,
adUnit
)
obj
.
put
(
"from"
,
from
)
var
key
:
String
?
=
null
if
(
error
==
null
)
{
obj
.
put
(
"status"
,
"1"
)
key
=
"ad_pull"
}
else
{
obj
.
put
(
"errMsg"
,
error
.
toString
())
obj
.
put
(
"status"
,
"2"
)
key
=
"ad_pull_error"
}
EventUtils
.
event
(
"ad_pull"
,
ext
=
obj
)
LogEx
.
logDebug
(
TAG
,
"ad_pull obj=$obj"
)
...
...
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