heyile commented on issue #1676: microservice response data have a parameter can'n return to client URL: https://github.com/apache/servicecomb-java-chassis/issues/1676#issuecomment-605810194 我再本地调用,没有复现问题, 能给一个demo 吗? ```java public class Person { private String name; private List<UserInfo> infos; } public class UserInfo extends BaseUserInfo { private int axAge; private String notes; } @RequestMapping(path = "/sayGG", method = RequestMethod.POST) public Person sayGG(@RequestParam(name = "name", defaultValue = "test") String name) { List<UserInfo> userInfos = new ArrayList<>(); userInfos.add(new UserInfo().setAxAge(34).setNotes("notes---RKD")); Person person = new Person(name, userInfos); return person; } Person sayGG = restTemplate.postForObject("cse://springmvc/springmvchello/sayGG?name=renkedong", null, Person.class); System.out.println(sayGG); // 结果如下: Person{name='renkedong', infos=[UserInfo{axAge=34, notes='notes---RKD'}]} ```
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
