admin
2020-07-14 eec7e789a87863c25d92c10ad5dfc22ad80c448d
fanli/src/main/java/com/yeshi/fanli/controller/client/v2/ConfigControllerV2.java
@@ -64,7 +64,6 @@
 * 动态
 * 
 * @author Administrator
 *
 */
@Controller
@RequestMapping("api/v2/config")
@@ -498,17 +497,15 @@
   }
   /**
    *
    * @Title: getElemeLinkNew
    * @Description:
    * @param acceptData
    * @param uid
    * @param activityId 活动ID
    * @param share -是否为分享
    * @param callback 
    * @param out
    * void 返回类型
     * @param out        void 返回类型
    * @throws
     * @Title: getElemeLinkNew
     * @Description:
    */
   @RequestMapping(value = "getElemeLinkNew")
   public void getElemeLinkNew(AcceptData acceptData, Long uid, String activityId, boolean share, boolean shareImg,
@@ -675,13 +672,13 @@
   /**
    * 是否显示广告
    * @Title: showAd
    * @Description:
     *
    * @param acceptData
    * @param uid
    * @param out
    * void 返回类型
     * @param out        void 返回类型
    * @throws
     * @Title: showAd
     * @Description:
    */
   @RequestMapping(value = "getShowAd")
   public void showAd(AcceptData acceptData, Long uid, PrintWriter out) {
@@ -700,9 +697,11 @@
      if ("0".equalsIgnoreCase(value.trim())) {
         data.put("show", false);
      } else {
         if (huaweiShowAd)
            if (huaweiShowAd) {
            data.put("show", true);
         else
                //加载广告数据
                data.put("ad", configService.getValue(ConfigKeyEnum.gdtAdInfo, acceptData.getSystem()));
            } else
            data.put("show", false);
      }
      out.print(JsonUtil.loadTrueResult(data));
@@ -710,6 +709,7 @@
   /**
    * 获取注销协议
     *
    * @param acceptData
    * @param out
    */