Authored by liangyi.chen@yoho.cn

Merge branch 'dev_6.8.5_yoho2ufo' into test6.8.5

@@ -44,7 +44,7 @@ public class Yoho2ufoProductServiceImpl implements Yoho2ufoProductService { @@ -44,7 +44,7 @@ public class Yoho2ufoProductServiceImpl implements Yoho2ufoProductService {
44 @Resource 44 @Resource
45 ProductSortMapper productSortMapper; 45 ProductSortMapper productSortMapper;
46 46
47 - @Value("${search.server.address}") 47 + @Value("${ip.port.search.server}")
48 private String searchServerAddress; 48 private String searchServerAddress;
49 49
50 private static final Logger logger = LoggerFactory.getLogger(Yoho2ufoProductServiceImpl.class); 50 private static final Logger logger = LoggerFactory.getLogger(Yoho2ufoProductServiceImpl.class);
@@ -195,7 +195,7 @@ public class Yoho2ufoProductServiceImpl implements Yoho2ufoProductService { @@ -195,7 +195,7 @@ public class Yoho2ufoProductServiceImpl implements Yoho2ufoProductService {
195 195
196 List<YohoProductInfo> productBoList = new ArrayList<>(); 196 List<YohoProductInfo> productBoList = new ArrayList<>();
197 //调用搜索的接口批量查询产品信息 197 //调用搜索的接口批量查询产品信息
198 - String url = searchServerAddress + "productindex/productListBySkn.json?product_skn=" + 198 + String url = searchServerAddress + "/yohosearch/productindex/productListBySkn.json?product_skn=" +
199 org.apache.commons.lang.StringUtils.join(sknList, ","); 199 org.apache.commons.lang.StringUtils.join(sknList, ",");
200 JSONObject jsonObject = serviceCaller.get("", url, null, JSONObject.class, null).get(1); 200 JSONObject jsonObject = serviceCaller.get("", url, null, JSONObject.class, null).get(1);
201 if(jsonObject != null && jsonObject.getJSONObject("data") != null){ 201 if(jsonObject != null && jsonObject.getJSONObject("data") != null){
@@ -42,4 +42,4 @@ ufo.live.notify.url = ${ufo.live.notify.url} @@ -42,4 +42,4 @@ ufo.live.notify.url = ${ufo.live.notify.url}
42 42
43 ufo.nfc.syncBlockChain.url=${ufo.nfc.syncBlockChain.url} 43 ufo.nfc.syncBlockChain.url=${ufo.nfc.syncBlockChain.url}
44 44
45 -search.server.address=${search.server.address}  
  45 +ip.port.search.server=${ip.port.search.server}