Commit 6fe36813 authored by linruibiao's avatar linruibiao

接口编写

parent 09dc7f7f
......@@ -265,7 +265,8 @@ public class VariableServiceImpl implements VariableService {
dto.setAppId(currentUser.getAppId());
Map<String, String> uriVariables = Maps.newHashMap();
uriVariables.put("appId", currentUser.getAppId());
RestTemplateUtils.post(uri,dto, new TypeToken<R<List<Map<String, Object>>>>() {}.getType(), uriVariables);
R<Object> result = RestTemplateUtils.post(uri, null, dto, new TypeToken<R<Object>>() {}.getType(), uriVariables);
result.detach();
}
......
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