Commit 18367876 by 徐康

预约单

parent e3b92b6f
......@@ -2585,6 +2585,7 @@ public class MCCafeOrderServiceImpl implements MCCafeOrderService {
Gson gson = new Gson();
String json = gson.toJson(mcCafePushOrderDto);
HttpEntity<String> requestEntity = new HttpEntity<>(json, headers);
AppLogUtil.infoLog("restTemplate 请求入参 : "+json+" headers : "+JSON.toJSONString(headers.toSingleValueMap()), null, null);
ResponseEntity<String> responseEntity = client.exchange(mccafePushOrderGatewayUrl+"/mp/order", HttpMethod.POST, requestEntity, String.class);
McCafePushOrderResponseDto responseDto = JSON.parseObject(responseEntity.getBody(), McCafePushOrderResponseDto.class);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment