Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
D documents
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • pass
  • documents
  • Wiki
  • Home

Home · Changes

Page history
Update home authored Mar 23, 2019 by 叶佳菲's avatar 叶佳菲
Show whitespace changes
Inline Side-by-side
Showing with 9 additions and 1 deletion
+9 -1
  • home.md home.md +9 -1
  • No files found.
home.md
View page @ f15a496f
...@@ -61,9 +61,17 @@ http://pre.sovell.com/oauth/v2/userinfo ...@@ -61,9 +61,17 @@ http://pre.sovell.com/oauth/v2/userinfo
1. 发送成功后不返回实际内容,HttpStatus=200即为成功 1. 发送成功后不返回实际内容,HttpStatus=200即为成功
1. 成功后调用/token接口 1. 成功后调用/token接口
- 手机收到的授权码作为code参数 - 将手机号和收到的授权码共同作为code参数,使用.连接
- 可参考[文档rfc6749](https://tools.ietf.org/html/rfc6749#section-4.1.3) - 可参考[文档rfc6749](https://tools.ietf.org/html/rfc6749#section-4.1.3)
```javascript
POST /oauth/v2/token HTTP/1.1
Host: pre.sovell.com
Content-Type: application/x-www-form-urlencoded
client_id=B-8onb81TPCog2YBhSsQaA&client_secret=q1LQuI8C4CI&grant_type=authorization_code&code=18768424633.372
```
### 二维码授权 ### 二维码授权
- 二维码授权实际上扩展了code方式的授权过程 - 二维码授权实际上扩展了code方式的授权过程
......
Clone repository
  • Home
  • 接口
    • 交易
    • 消息
    • 用户
    • 通用券
  • 渠道
    • 微信 1基本参数
    • 微信 2商户平台配置
    • 微信 3公众号参数
    • 微信 4公众平台配置
    • 微信(服务商方式)
    • 支付宝 1基本参数
    • 支付宝 2公钥上传
    • 支付宝(服务商方式)