From b5e19564dcbf1b7ec12946209d74313479f9dfe1 Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期五, 24 十二月 2021 19:51:31 +0800
Subject: [PATCH] 布丸vivo上架兼容

---
 src/main/java/com/yeshi/buwan/controller/parser/ConfigParser.java |   16 +++++++++++++++-
 1 files changed, 15 insertions(+), 1 deletions(-)

diff --git a/src/main/java/com/yeshi/buwan/controller/parser/ConfigParser.java b/src/main/java/com/yeshi/buwan/controller/parser/ConfigParser.java
index 290010b..359599b 100644
--- a/src/main/java/com/yeshi/buwan/controller/parser/ConfigParser.java
+++ b/src/main/java/com/yeshi/buwan/controller/parser/ConfigParser.java
@@ -160,7 +160,7 @@
     public void getConfig(AcceptData acceptData, HttpServletRequest request, PrintWriter out) {
         LoggerUtil.getUserActiveLogger().info(UserActiveLogFactory.createAppSplash(new BaseLog(acceptData, "")));
         DetailSystem detailSystem = systemService.getDetailSystemByPackage(acceptData.getPackageName());
-        Map<String, String> map = configService.getConfigAsMap(detailSystem, acceptData.getVersion());
+        Map<String, String> map = configService.getConfigAsMap(acceptData.getChildDetailSystem(), acceptData.getVersion());
         JSONObject data = new JSONObject();
         JSONObject ad = new JSONObject();
         JSONObject adNew = new JSONObject();
@@ -253,6 +253,20 @@
             adConfig = null;
         adNew.put("splashHotStart", gson.toJson(adConfig));
 
+        //棣栭〉鎻掑睆
+        adConfig = getAdShowType("home_ad_interstitial", acceptData.getChannel(), acceptData.getVersion(), map);
+        if (hiddenAll)
+            adConfig = null;
+        adNew.put("homeInterstitial", gson.toJson(adConfig));
+
+        //搴旂敤閫�鍑哄叏灞�
+        adConfig = getAdShowType("ad_exit_app_fullvideo", acceptData.getChannel(), acceptData.getVersion(), map);
+        if (hiddenAll)
+            adConfig = null;
+        adNew.put("exitAppFullvideo", gson.toJson(adConfig));
+
+
+
         //鍏朵粬骞垮憡
         adConfig = getAdShowType("ad_other", acceptData.getChannel(), acceptData.getVersion(), map);
         if (hiddenAll)

--
Gitblit v1.8.0