Commit 4677d095 by 徐康

日志

parent f5e12cc9
......@@ -2584,7 +2584,7 @@ public class MCCafeOrderServiceImpl implements MCCafeOrderService {
headers.set("Timestamp", timestamp);
headers.set("Sign", sign);
headers.add("Accept", MediaType.APPLICATION_JSON_VALUE);
Gson gson = new Gson();
AppLogUtil.infoLog("订单推送header: "+JSON.toJSONString(headers),null,null);
String json = JSON.toJSONString(mcCafePushOrderDto);
HttpEntity<String> requestEntity = new HttpEntity<>(json, headers);
ResponseEntity<String> responseEntity = client.exchange(mccafePushOrderGatewayUrl+"/mp/order", HttpMethod.POST, requestEntity, String.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