From cdc3690a0354e01b44852f4c9da3b7204128d2eb Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期五, 13 八月 2021 18:46:36 +0800 Subject: [PATCH] 增加苹果内购回调日志,兼容苹果内购 --- src/main/java/com/yeshi/buwan/controller/parser/ConfigParser.java | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 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 66d236f..6819283 100644 --- a/src/main/java/com/yeshi/buwan/controller/parser/ConfigParser.java +++ b/src/main/java/com/yeshi/buwan/controller/parser/ConfigParser.java @@ -253,6 +253,12 @@ adConfig = null; adNew.put("splashHotStart", gson.toJson(adConfig)); + //鍏朵粬骞垮憡 + adConfig = getAdShowType("ad_other", acceptData.getChannel(), acceptData.getVersion(), map); + if (hiddenAll) + adConfig = null; + adNew.put("other", gson.toJson(adConfig)); + data.put("ad", ad); data.put("adNew", adNew); @@ -267,6 +273,12 @@ //鑾峰彇璐拱璁板綍閾炬帴 data.put("buyRecordUrl", systemConfigService.getConfigValueByKeyCache("buyRecordUrl")); + //鑱旂郴鎴戜滑 + data.put("contactUsLink", map.get("contact_us_link")); + //娉ㄩ攢 + data.put("unRegisterLink", map.get("unregister_link")); + + out.print(JsonUtil.loadTrueJson(data.toString())); } -- Gitblit v1.8.0