|
@@ -2147,8 +2147,7 @@ public class GoodsServiceImpl implements GoodsService {
|
|
@Transactional
|
|
@Transactional
|
|
public void syncOmsHsCode(List<String> skuList) {
|
|
public void syncOmsHsCode(List<String> skuList) {
|
|
if (Objects.nonNull(skuList) && skuList.size()>0){
|
|
if (Objects.nonNull(skuList) && skuList.size()>0){
|
|
- //String result = HttpUtil.get("https://oms.ds-bay.com/oms-controller-mgt/pdProductRecord/hsCodeMapBySkuList?skuList=" + skuList);
|
|
|
|
- String result = HttpUtil.get("http://183.3.221.143:8080/oms-controller-mgt/pdProductRecord/hsCodeMapBySkuList?skuList=" + skuList);
|
|
|
|
|
|
+ String result = HttpUtil.get("https://oms.ds-bay.com/oms-controller-mgt/pdProductRecord/hsCodeMapBySkuList?skuList=" + skuList);
|
|
Map<String,Map> map = JSON.parseObject(result, Map.class);
|
|
Map<String,Map> map = JSON.parseObject(result, Map.class);
|
|
|
|
|
|
for (String sku : skuList) {
|
|
for (String sku : skuList) {
|