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] Format the code and improve Mini Program authorization to o… #473
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…btain openid(miniprogram/auth/auth.go Code2Session)
silenceper
requested changes
Sep 8, 2021
silenceper
requested changes
Sep 8, 2021
另外代码格式化format是根据哪个规范来的,可以贴下规则吗? |
主要是格式化了代码注释部分的双斜杠后面的内容 ,没有添加空格的新加一个空格 ,这样统一格式。其他的没有变化。 注释要求
缩进和折行
括号和空格
|
是通过哪个工具格式化的吗? |
silenceper
requested changes
Sep 8, 2021
感谢您的提交 |
fiochen
pushed a commit
to fiochen/wechat
that referenced
this pull request
Oct 8, 2021
silenceper#473) * [feature] Format the code and improve Mini Program authorization to obtain openid(miniprogram/auth/auth.go Code2Session) * [feature] CheckEncryptedData (https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/user-info/auth.checkEncryptedData.html) * upgrade json error * upgrade json error Co-authored-by: houseme <houseme@outlook.com>
fiochen
added a commit
to fiochen/wechat
that referenced
this pull request
Oct 8, 2021
…ion to o… (silenceper#473)" This reverts commit fa6a37a.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
…btain openid(miniprogram/auth/auth.go Code2Session)