Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

错误信息字段 isSuccess 序列化异常 #43

Open
zou-weidong opened this issue Sep 27, 2019 · 2 comments
Open

错误信息字段 isSuccess 序列化异常 #43

zou-weidong opened this issue Sep 27, 2019 · 2 comments

Comments

@zou-weidong
Copy link

采用springboot默认的Jackson序列化。GenericResult类中的 isSuccess 字段在序列化时成为 success。

@neoremind
Copy link
Owner

类型解析错误,是把GenericResult当做rpc返回对象的属性了吗?

@zou-weidong
Copy link
Author

没有,项目中用与spring集成的方式,在回调中用 ValidationError 对象 。就是测试输出json的时候看到有这个isXXX字段

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants