Showing
1 changed file
with
43 additions
and
0 deletions
处理微信新旧openId登录接口.md
0 → 100644
1 | +###检查微信登录openId是否已处理接口 | ||
2 | +------------------------------------------------ | ||
3 | +接口地址:/openid/handle | ||
4 | +GET参数: | ||
5 | +| 参数名 | 是否必须 | 说明 | | ||
6 | +|---------------|----------------|-------------| | ||
7 | +| open_id | 是 |openid | | ||
8 | + | ||
9 | +返回值: | ||
10 | +```json | ||
11 | +status: 200 | ||
12 | +{ | ||
13 | + "isHandle": true | ||
14 | +} | ||
15 | +``` | ||
16 | + | ||
17 | +###处理微信openId接口 | ||
18 | +------------------------------------------------ | ||
19 | +接口地址:/openid/handle | ||
20 | +POST参数: | ||
21 | +| 参数名 | 是否必须 | 说明 | | ||
22 | +|---------------|----------------|--------------| | ||
23 | +| open_id_new | 是 |openId新 | | ||
24 | +| open_id_old | 是 |openId旧 | | ||
25 | +返回值: | ||
26 | +```json | ||
27 | +用户信息 | ||
28 | +``` | ||
29 | + | ||
30 | + | ||
31 | + | ||
32 | +###用户账号二选一接口 | ||
33 | +------------------------------------------------ | ||
34 | +接口地址:/openid/choose | ||
35 | +POST参数: | ||
36 | +| 参数名 | 是否必须 | 说明 | | ||
37 | +|---------------|----------------|--------------| | ||
38 | +| open_id | 是 |openId | | ||
39 | +| user_id | 是 |用户账号id | | ||
40 | +返回值: | ||
41 | +```json | ||
42 | +status:200 | ||
43 | +``` |
-
Please register or login to post a comment