Administrator
2018-11-13 06a7debe678e7ae30f39c61a7f71a926d52d1ae7
fanli/src/main/java/com/yeshi/fanli/util/taobao/TaoBaoUtil.java
@@ -1688,10 +1688,12 @@
            for (int i = 0; i < items.size(); i++) {
               ImageInfo img = new ImageInfo();
               Element item = items.get(i);
               if (StringUtil.isNullOrEmpty(item.attr("size")))
               if (StringUtil.isNullOrEmpty(item.ownText()))
                  continue;
               img.setWidth(Integer.parseInt(item.attr("size").split("x")[0]));
               img.setHeight(Integer.parseInt(item.attr("size").split("x")[1]));
               if (!StringUtil.isNullOrEmpty(item.attr("size"))) {
                  img.setWidth(Integer.parseInt(item.attr("size").split("x")[0]));
                  img.setHeight(Integer.parseInt(item.attr("size").split("x")[1]));
               }
               if (item.ownText().startsWith("http"))
                  img.setPicture(item.ownText().trim());
               else