admin
2019-05-16 4114e871bcb3dce771b6aed64a1027d0bbb95ca6
fanli/src/main/java/com/yeshi/fanli/controller/client/GoodsClassController.java
@@ -184,7 +184,7 @@
         String platform = acceptData.getPlatform();
         if ("android".equalsIgnoreCase(platform) && tversion > 38) {
            changePicture = true;
         } else if (tversion > 45){
         } else if (tversion > 47){
            changePicture = true;
         }
         
@@ -800,7 +800,19 @@
   @RequestMapping(value = { "getcategory" }, method = { org.springframework.web.bind.annotation.RequestMethod.POST })
   public void getcategory(AcceptData acceptData, PrintWriter out) {
      try {
         List<Map<String, Object>> listCache = goodsClassService.getClassListAllCache();
         boolean changePicture = false;
         String version = acceptData.getVersion();
         int tversion = Integer.parseInt(version);
         String platform = acceptData.getPlatform();
         if ("android".equalsIgnoreCase(platform) && tversion > 38) {
            changePicture = true;
         } else if (tversion > 47){
            changePicture = true;
         }
         List<Map<String, Object>> listCache = goodsClassService.getClassListAllCache(changePicture);
         if (listCache == null) {
            listCache = new ArrayList<Map<String, Object>>();
         }