| | |
| | |
|
| | | import javax.annotation.Resource;
|
| | |
|
| | | import com.yeshi.fanli.entity.SystemEnum;
|
| | | import org.springframework.stereotype.Component;
|
| | | import org.yeshi.utils.JsonUtil;
|
| | |
|
| | |
| | | }
|
| | | }
|
| | |
|
| | | public List<ImageInfo> getTaoBaoGoodsDetailImgs(long auctionId) {
|
| | | public List<ImageInfo> getTaoBaoGoodsDetailImgs(long auctionId, SystemEnum system) {
|
| | | String key = RedisKeyEnum.getRedisKey(RedisKeyEnum.taobaoGoodsDetailimgs, auctionId + "");
|
| | | String value = "";
|
| | | if (Constant.IS_OUTNET)
|
| | |
| | | if (StringUtil.isNullOrEmpty(value)) {
|
| | | List<ImageInfo> list = null;
|
| | | try {
|
| | | list = TaoBaoUtil.getTBDetailImageWithSizev2(auctionId, configService.getTaoBaoProxyIP());
|
| | | list = TaoBaoUtil.getTBDetailImageWithSizev2(auctionId, configService.getTaoBaoProxyIP(system));
|
| | | } catch (Exception e) {
|
| | | e.printStackTrace();
|
| | | }
|