Showing
1 changed file
with
36 additions
and
0 deletions
yjw接口文档/y手机号接口.md
0 → 100644
| 1 | +# 手机号相关 | ||
| 2 | + | ||
| 3 | +#### 1. 绑定手机号 | ||
| 4 | +api-online.test.boxfish.cn/mobile/send?access_token=admin&mobile=17051100900 | ||
| 5 | +POST | ||
| 6 | +返回参数: | ||
| 7 | +{ | ||
| 8 | + "success": true | ||
| 9 | +} | ||
| 10 | + | ||
| 11 | + | ||
| 12 | + | ||
| 13 | +#### 2. 检验验证码 | ||
| 14 | +api-online.test.boxfish.cn/mobile/check?access_token=admin&mobile=17051100900&code=2128 | ||
| 15 | +GET/POST | ||
| 16 | +返回参数: | ||
| 17 | +{ | ||
| 18 | + "status": "valid" | ||
| 19 | +} | ||
| 20 | + | ||
| 21 | + | ||
| 22 | +#### 3. 更改手机号 | ||
| 23 | +api-online.test.boxfish.cn/user/mobile?access_token=admin&mobile=17051100900&code=3257 | ||
| 24 | +POST | ||
| 25 | +返回参数:无 | ||
| 26 | + | ||
| 27 | +#### 4. 删除此用户手机绑定 | ||
| 28 | +api-online.test.boxfish.cn/user/mobile?access_token=admin&mobile=17051100900&code=3257 | ||
| 29 | +DELETE | ||
| 30 | +返回参数:无 | ||
| 31 | + | ||
| 32 | +#### 5. 删除此手机号绑定 | ||
| 33 | +api-online.test.boxfish.cn/user/mobile/{mobileId}}?access_token=admin | ||
| 34 | +示例: | ||
| 35 | +api-online.test.boxfish.cn/user/mobile/17051100900?access_token=admin | ||
| 36 | +返回参数:无 |
-
Please register or login to post a comment