You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Operating System version: macOS Catalina Version 10.15.3
Java version: 1.8.0_231
Steps to reproduce this issue
通过telnet调用接口如下
方法(Method) public String convert7(UserInfoCondition userInfoCondition) { }
参数(Parameter) public class UserInfoCondition { private List<Map<Integer, UserInfo>> userList; } public class UserInfo { private String accountMobile; private String userPassword; }
invoke UsesrInfoFacade.convert7({"userList":[{"1":{"accountMobile":"15052234567"}}]})
or
invoke UsesrInfoFacade.convert7({"userList":[{1:{"accountMobile":"15052234567"}}]})
Activity
infuq commentedon Mar 30, 2020
尝试了很多种写法, 也指定了class, 还是失败, 不知道问题出在哪里.
rj-chensiqu commentedon Mar 30, 2020
和 #5748 应该是一个问题。
({"userList":[{"1":{"accountMobile":"15052234567"},"class":"java.util.HashMap"}]})这样是可行的Enhancement, support Map auto recognize in PojoUtils (#6106)
2.7.8 release (#6407)