From a6f34b99ee20e528b766c8ed5a61bd9c5aa0e7ae Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期六, 16 十一月 2019 18:10:33 +0800 Subject: [PATCH] 淘宝相似商品推荐接口优化,根据商品ID搜索商品基本信息优化 --- fanli/src/test/java/org/fanli/TBImgTest.java | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/fanli/src/test/java/org/fanli/TBImgTest.java b/fanli/src/test/java/org/fanli/TBImgTest.java index cb09a00..95d4ac4 100644 --- a/fanli/src/test/java/org/fanli/TBImgTest.java +++ b/fanli/src/test/java/org/fanli/TBImgTest.java @@ -4,6 +4,7 @@ import org.junit.Ignore; import org.junit.Test; +import org.yeshi.utils.entity.ProxyIP; import com.yeshi.fanli.entity.common.ImageInfo; import com.yeshi.fanli.util.taobao.TaoBaoUtil; @@ -13,7 +14,7 @@ @Test public void test1() { - List<ImageInfo> list = TaoBaoUtil.getTBDetailImageWithSize(565204406588L); + List<ImageInfo> list = TaoBaoUtil.getTBDetailImageWithSizev2(565204406588L,new ProxyIP("180.104.85.109", 4248)); for (ImageInfo info : list) System.out.println(info.getPicture()); } -- Gitblit v1.8.0