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

feat(decode): Apple 解析数据后存储凭证原始数据,有助于查验结构体数据一致性 #432

Merged
merged 2 commits into from
Nov 26, 2024

Conversation

admininfon
Copy link
Contributor

Apple 支付凭证校验解析后, 将原始数据存储到 jwt.token 中, 对于需要确认数据一致性场景下有帮助, 可以通过原始数据对解析后的结构体数据进行查验比对. 或者日志记录等场景.

pkg/jwt/parser.go:105:5: S1009: should omit nil check; len() for []encoding/json.RawMessage is defined as zero (gosimple)
空判断去除
@iGoogle-ink iGoogle-ink merged commit 6042c74 into go-pay:main Nov 26, 2024
7 checks passed
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