File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ---
2+ title : verification
3+ ---
4+
5+ 未特别说明情况下请求域名均为 ` https://chat-go.jwzhd.com `
6+ 没写请求/响应项目表示不需要相关参数.
7+
8+ ## 获取短信验证码
9+
10+ POST /v1/verification/get-verification-code
11+
12+ 请求体:
13+
14+ ``` JSONC
15+ {
16+ " mobile" : " 12312312300" , // 手机号
17+ " code" : " 123123" , // 人机验证校验码
18+ " id" : " 123" , // 人机验证ID
19+ " platform" : " windows" // 登陆平台名称,一般为windows,web等可自定义
20+ }
21+ ```
22+
23+ 响应体:
24+
25+ ``` JSONC
26+ {
27+ " code" : 1 , // 请求状态码,1为正常
28+ " msg" : " success" // 返回消息
29+ }
30+ ```
31+
32+ ## 获取邮箱验证码
33+
34+ POST /v1/verification/get-email-verification-code
35+
36+ 请求体:
37+
38+ ``` JSONC
39+ {
40+ " email" : " 123@123.123" , // 手机号
41+ " typ" : " forget_password" , // 验证类别,forget_password-更改密码验证
42+ " code" : " 123123" , // 人机验证校验码
43+ " id" : " 123" , // 人机验证ID
44+ }
45+ ```
46+
47+ 响应体:
48+
49+ ``` JSONC
50+ {
51+ " code" : 1 , // 请求状态码,1为正常
52+ " msg" : " success" // 返回消息
53+ }
54+ ```
You can’t perform that action at this time.
0 commit comments