Toggle navigation
Toggle navigation
This project
Loading...
Sign in
liuming
/
developer-docs
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
姜腾飞
2015-10-28 17:04:59 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
9ecd5a17eb46b807a948214065df8ad93cca4ea0
9ecd5a17
1 parent
60b6e7d7
Created 处理微信新旧openId登录接口 (markdown)
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
43 additions
and
0 deletions
处理微信新旧openId登录接口.md
处理微信新旧openId登录接口.md
0 → 100644
View file @
9ecd5a1
###检查微信登录openId是否已处理接口
------------------------------------------------
接口地址:/openid/handle
GET参数:
| 参数名 | 是否必须 | 说明 |
|---------------|----------------|-------------|
| open_id | 是 |openid |
返回值:
```
json
status:
200
{
"isHandle"
:
true
}
```
###处理微信openId接口
------------------------------------------------
接口地址:/openid/handle
POST参数:
| 参数名 | 是否必须 | 说明 |
|---------------|----------------|--------------|
| open_id_new | 是 |openId新 |
| open_id_old | 是 |openId旧 |
返回值:
```
json
用户信息
```
###用户账号二选一接口
------------------------------------------------
接口地址:/openid/choose
POST参数:
| 参数名 | 是否必须 | 说明 |
|---------------|----------------|--------------|
| open_id | 是 |openId |
| user_id | 是 |用户账号id |
返回值:
```
json
status:
200
```
\ No newline at end of file
...
...
Please
register
or
login
to post a comment