From 2a593ddac16e06f1ff55edca22ea568f07b068ba Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期五, 02 四月 2021 19:15:18 +0800 Subject: [PATCH] 3.9.0bug修改 --- src/main/java/com/yeshi/buwan/controller/parser/ConfigParser.java | 11 +++++++++-- 1 files changed, 9 insertions(+), 2 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 427168a..6b5a106 100644 --- a/src/main/java/com/yeshi/buwan/controller/parser/ConfigParser.java +++ b/src/main/java/com/yeshi/buwan/controller/parser/ConfigParser.java @@ -55,7 +55,7 @@ public ADConfig getAdShowType(String key, String channel, int version, Map<String, String> map) { String splash = map.get(key); JSONObject jsonObject = JSONObject.fromObject(splash); - if (jsonObject == null||jsonObject.isEmpty()) + if (jsonObject == null || jsonObject.isEmpty()) return null; ADConfig adConfig = null; channel = channel.toLowerCase(); @@ -216,13 +216,20 @@ adConfig = null; adNew.put("pptvNoAdReward", gson.toJson(adConfig)); + //鐑惎鍔ㄥ紑灞� + adConfig = getAdShowType("ad_splash_hot_start", acceptData.getChannel(), acceptData.getVersion(), map); + if (hiddenAll) + adConfig = null; + adNew.put("splashHotStart", gson.toJson(adConfig)); + + data.put("ad", ad); data.put("adNew", adNew); //PPTV鍏嶅箍鍛婃潈鐩婃椂闀�,鏆傛椂璁剧疆涓�3灏忔椂 data.put("pptvNoAdRewardHour", 3); //璁剧疆缃戦〉鍔犻�熷煙鍚� data.put("webSpeedUpHost", map.get("web_speed_up_host")); - + data.put("minePageBanner", map.get("mine_page_banner")); out.print(JsonUtil.loadTrueJson(data.toString())); } -- Gitblit v1.8.0