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

Feature: make WxMpMaterialNewsArticle to be Serializable #1366

Merged
merged 2 commits into from
Jan 8, 2020

Conversation

yydzxz
Copy link

@yydzxz yydzxz commented Jan 7, 2020

微信公众平台-获取图文永久素材接口有调用限制,需要缓存调用结果存入redis, 所以结果对象需要可序列化

@binarywang
Copy link
Owner

binarywang commented Jan 7, 2020

不加serialVersionUID吗?

@yydzxz
Copy link
Author

yydzxz commented Jan 7, 2020

不加serialVersionUID吗?

我觉得内部类没有必要添加serialVersionUID, 这里倒是有个讨论

@binarywang
Copy link
Owner

不加serialVersionUID吗?

我觉得内部类没有必要添加serialVersionUID, 这里倒是有个讨论

你说的这个文档里,我看了,说的是非静态的内部类没必要添加,但这个是静态内部类。

@yydzxz
Copy link
Author

yydzxz commented Jan 7, 2020

不加serialVersionUID吗?

我觉得内部类没有必要添加serialVersionUID, 这里倒是有个讨论

你说的这个文档里,我看了,说的是非静态的内部类没必要添加,但这个是静态内部类。

加上了

@binarywang binarywang merged commit e176fc0 into binarywang:develop Jan 8, 2020
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

Successfully merging this pull request may close these issues.

2 participants