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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

admininfon
Copy link

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

pkg/jwt/parser.go:105:5: S1009: should omit nil check; len() for []encoding/json.RawMessage is defined as zero (gosimple)
空判断去除
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.

1 participant