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

修复 #3080 微软账户无法正确读取 Token 过期时间的问题 #3126

Merged
merged 1 commit into from
Jul 19, 2024

Conversation

burningtnt
Copy link
Member

Fix #3080

Gson 默认将该值反序列化为 Double

@burningtnt burningtnt changed the title Fix #3080 修复微软账户无法正确读取 Token 过期时间的问题 修复 #3080 修复微软账户无法正确读取 Token 过期时间的问题 Jun 15, 2024
@burningtnt burningtnt changed the title 修复 #3080 修复微软账户无法正确读取 Token 过期时间的问题 修复 #3080 微软账户无法正确读取 Token 过期时间的问题 Jun 15, 2024
@Glavo
Copy link
Member

Glavo commented Jul 19, 2024

感觉需要考虑一下是否改一下默认序列化策略了,不过这个需要更多审查和测试。

@Glavo Glavo merged commit 5a4825d into HMCL-dev:main Jul 19, 2024
2 checks passed
@zly2006
Copy link
Contributor

zly2006 commented Jul 19, 2024

改默认序列化基本没啥问题,大整数本来就应该是long,改了策略只要原来不带小数点他就不是double

@burningtnt burningtnt deleted the fix3080/account-timestamp-json branch July 20, 2024 02:43
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.

3 participants