yujian
2020-06-03 80e39e3a40283521fc732c930aa51d9bece7c146
fanli/src/main/java/com/yeshi/fanli/controller/client/v1/ConfigController.java
@@ -52,6 +52,7 @@
import com.yeshi.fanli.util.ThreadUtil;
import com.yeshi.fanli.util.TimeUtil;
import com.yeshi.fanli.util.VersionUtil;
import com.yeshi.fanli.vo.homemodule.BannerVO;
import com.yeshi.fanli.vo.user.UserDialogBtnVO;
import com.yeshi.fanli.vo.user.UserDialogVO;
import com.yeshi.fanli.vo.user.VIPUpgradedNotifyVO;
@@ -334,10 +335,10 @@
               data.put("banner", new JSONArray());
            } else {
               // 我的界面banner
               List<SwiperPicture> banner = swiperPictureService.getByBannerCardAndVersion("my_interface_banner",
               List<BannerVO> banner = swiperPictureService.getByBannerCardAndVersion("my_interface_banner",
                     acceptData.getPlatform(), Integer.parseInt(acceptData.getVersion()));
               if (banner == null)
                  banner = new ArrayList<SwiperPicture>();
                  banner = new ArrayList<BannerVO>();
               data.put("banner", JsonUtil.getApiCommonGson().toJson(banner));
            }
         }
@@ -433,6 +434,12 @@
               }
            }
         }
         // 云发单链接
         if (VersionUtil.greaterThan_2_1_2(acceptData.getPlatform(), acceptData.getVersion())) {
            data.put("cloudLink", configService.get(ConfigKeyEnum.robotCloudLink.getKey()));
         }
         out.print(JsonUtil.loadTrueResult(data));
      } catch (Exception e) {
         out.print(JsonUtil.loadFalseResult("获取失败"));