|
@@ -1578,6 +1578,7 @@ public class BuyerOrderServiceImpl implements IBuyerOrderService { |
|
@@ -1578,6 +1578,7 @@ public class BuyerOrderServiceImpl implements IBuyerOrderService { |
1578
|
JSONObject jsonReqObj = getStringHttpEntity(buyerOrder, sellerGoods, appraiseAddress.getAddress(), skup, req.getPayMethod());
|
1578
|
JSONObject jsonReqObj = getStringHttpEntity(buyerOrder, sellerGoods, appraiseAddress.getAddress(), skup, req.getPayMethod());
|
1579
|
HttpEntity<String> formEntity = new HttpEntity<>(jsonReqObj.toString(), getHttpHeaders());
|
1579
|
HttpEntity<String> formEntity = new HttpEntity<>(jsonReqObj.toString(), getHttpHeaders());
|
1580
|
|
1580
|
|
|
|
1581
|
+ LOGGER.info("getSfWaybillCode formEntity is {}", formEntity.toString());
|
1581
|
ResponseEntity<JSONObject> responseResponseEntity = restTemplate.postForEntity(url, formEntity, JSONObject.class);
|
1582
|
ResponseEntity<JSONObject> responseResponseEntity = restTemplate.postForEntity(url, formEntity, JSONObject.class);
|
1582
|
JSONObject body = responseResponseEntity.getBody();
|
1583
|
JSONObject body = responseResponseEntity.getBody();
|
1583
|
LOGGER.info("erp result is {}", body);
|
1584
|
LOGGER.info("erp result is {}", body);
|