menu 云析API铺 - 云析文档平台 公告 打赏
child_care
医药百科
keyboard_arrow_down
star_border

申请KEY

使用教程


请求地址 https://api.a20safe.com/api.php?api=47&mail=绑定邮箱&code=验证码

返回示例 {"code":0,"msg":"success","data":[{"result":"用户KEY"}]}

Example

返回参数

返回参数类型说明
code Int 状态码
msg String 返回说明
result String 结果(成功返回key,失败返回原因)

						<br><br>
<table class="mdui-table"><thead><tr>
<th>返回参数</th><th>类型</th><th>说明</th></tr></thead><tbody>
<tr><td><code>code</code></td>
<td>Int</td>
<td>状态码</tr>
<tr><td><code>msg</code></td>
<td>String</td>
<td>返回说明</tr>
<tr><td><code>result</code></td>
<td>String</td>
<td>结果(成功返回key,失败返回原因)</tr>
</tbody></table>
					

请求参数

请求参数必填类型说明
api String 接口id
mail String 绑定的邮箱
code String 验证码(需先发送验证码)
wxuid String 公众号或其他平台用户标识
belong String 上级用户邮箱
- -- 以下为二次对接需要填写的参数(上述参数中,code无需填写,wxuid视需求填写,belong为必填,mail为必填)
weburl String 您的站点网址(二次对接用:需要先在接口ID62中申请对接权限)
webkey String 在您站点上用户的key(二次对接用:该用户在您站点上的key)