This commit is contained in:
ocean 2026-01-13 15:43:39 +08:00
parent 4e5f45a021
commit 87dfad4978

View File

@ -459,7 +459,7 @@ class MainActivity2 : AppCompatActivity() {
// 将结果转换为字符串表示形式 // 将结果转换为字符串表示形式
val formattedString: String = result.toPlainString() val formattedString: String = result.toPlainString()
showJson.addProperty("succeed", true)//广告加载是否成功 showJson.addProperty("succeed", true)//广告加载是否成功
showJson.addProperty("adPlatform", "Max")//广告平台 showJson.addProperty("adPlatform", "TradPlus")//广告平台
showJson.addProperty("countryCode", ad?.format ?: "")//国家代码 showJson.addProperty("countryCode", ad?.format ?: "")//国家代码
showJson.addProperty("adId", place)//广告Id showJson.addProperty("adId", place)//广告Id
showJson.addProperty("platformResponseTime", "")//平台广告响应时间 showJson.addProperty("platformResponseTime", "")//平台广告响应时间
@ -503,7 +503,7 @@ class MainActivity2 : AppCompatActivity() {
aidlClient.sendAdsChange(packageName, getInsAdReturnCount()) aidlClient.sendAdsChange(packageName, getInsAdReturnCount())
loadAndShowAdNumber-- loadAndShowAdNumber--
showJson.addProperty("succeed", false)//广告加载是否成功 showJson.addProperty("succeed", false)//广告加载是否成功
showJson.addProperty("adPlatform", "Max")//广告平台 showJson.addProperty("adPlatform", "TradPlus")//广告平台
showJson.addProperty("adId", place)//广告Id showJson.addProperty("adId", place)//广告Id
MyConfigUtil.initPostShowLog(showJson) MyConfigUtil.initPostShowLog(showJson)
} }