Commit 92031c30 authored by xiaozhe.chen's avatar xiaozhe.chen

运营系统替换中台接口

parent f63820f5
......@@ -122,6 +122,7 @@ public class RestTemplateServiceImpl implements IHttpService {
@Override
public String post(String uri, Map<String, ?> parameters) {
log.info("method post uri:{},parameters:{}", uri, parameters);
ResponseEntity<String> entity = restTemplate.exchange(uri, HttpMethod.POST, from(null, parameters), String.class);
if (entity.getStatusCode().is2xxSuccessful()) {
return entity.getBody();
......
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