| | |
| | | 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)); |
| | | |
| | | //广告ID |
| | | if (!StringUtil.isNullOrEmpty(map.get("gdt_app_id"))) { |
| | | adNew.put("gdtAppId", map.get("gdt_app_id")); |
| | | } |
| | | |
| | | if (!StringUtil.isNullOrEmpty(map.get("csj_app_id"))) { |
| | | adNew.put("csjAppId", map.get("csj_app_id")); |
| | | } |
| | | |
| | | data.put("ad", ad); |
| | | data.put("adNew", adNew); |
| | |
| | | //获取购买记录链接 |
| | | 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())); |
| | | } |
| | | |