admin
2019-03-13 33b4ed2bbf28ec16b66e552680f56a691a4e908d
fanli/src/main/java/com/yeshi/fanli/controller/client/SystemClientController.java
@@ -56,7 +56,7 @@
         return;
      }
      List<SystemClientParams> systemClientParamsList = systemClientParamsService
            .getSystemClientParamsBySystemId(system.getId());
            .getSystemClientParamsBySystemId(system.getId(),Integer.parseInt(acceptData.getVersion()));
      if (systemClientParamsList == null || systemClientParamsList.size() == 0) {
         out.print(JsonUtil.loadFalseResult("暂无数据"));
         return;
@@ -73,17 +73,17 @@
         }
         if (sp.getKey().equalsIgnoreCase("iosonling") && "ios".equalsIgnoreCase(acceptData.getPlatform())
         if (ssp.getKey().equalsIgnoreCase("iosonling") && "ios".equalsIgnoreCase(acceptData.getPlatform())
               && configService.iosOnLining(Integer.parseInt(acceptData.getVersion()))) {
            sp.setValue("1");
         } else if (sp.getKey().equalsIgnoreCase("home_weex_url")) {
            ssp.setValue("1");
         } else if (ssp.getKey().equalsIgnoreCase("home_weex_url")) {
            if (("android".equalsIgnoreCase(acceptData.getPlatform())
                  && Integer.parseInt(acceptData.getVersion()) < 36)) {
               // 老版本weex(1.5.1之前的)
               sp.setValue("http://ec-1255749512.file.myqcloud.com/resource/weex/flq_index_v2.js");
               ssp.setValue("http://ec-1255749512.file.myqcloud.com/resource/weex/flq_index_v2.js");
            } else if ("ios".equalsIgnoreCase(acceptData.getPlatform())
                  && Integer.parseInt(acceptData.getVersion()) < 44)
               sp.setValue("http://ec-1255749512.file.myqcloud.com/resource/weex/flq_index_v2.js");
               ssp.setValue("http://ec-1255749512.file.myqcloud.com/resource/weex/flq_index_v2.js");
         }
         list.add(ssp);
      }