优化文档格式

This commit is contained in:
社会易姐QwQ
2020-04-16 18:47:19 +08:00
parent a0c4316917
commit 4fd408f111
26 changed files with 303 additions and 149 deletions

View File

@@ -23,6 +23,8 @@
**json回复**
根对象:
| 字段 | 类型 | 内容 | 备注 |
| ------ | ---- | -------- | ------------ |
| code | num | 返回值 | 0成功 |
@@ -37,7 +39,7 @@
| url | str | 二维码内容url | 恒为87字符 |
| oauthKey | str | 扫码登录秘钥 | 恒为32字符 |
示例:
**示例:**
用申请到的`data`.`url`中的值生成二维码,等待手机客户端扫描,并将`data`.`oauthKey`保存等待使用
@@ -68,7 +70,8 @@ http://passport.bilibili.com/qrcode/getLoginUrl
`sid` `DedeUserID` `DedeUserID__ckMd5` `SESSDATA` `bili_jct`
参数( application/x-www-form-urlencoded
**参数( application/x-www-form-urlencoded **
| 参数名 | 类型 | 内容 | 必要性 | 备注 |
| -------- | ---- | ------------ | ------ | ----------------------------- |
| oauthKey | data | 扫码登录秘钥 | 必要 | |
@@ -76,6 +79,8 @@ http://passport.bilibili.com/qrcode/getLoginUrl
**json回复**
根对象:
| 字段 | 类型 | 内容 | 备注 |
| ------- | ---------------------------- | ----------------------------------------- | ------------------------------------------------------------ |
| status | bool | 扫码是否成功 | true成功<br />false未成功 |
@@ -89,7 +94,7 @@ data 对象:
| ---- | ---- | --------------- | ---- |
| url | str | 游戏分站登录url | |
示例:
**示例:**
curl -d "oauthKey=xxx" "http://passport.bilibili.com/qrcode/getLoginInfo"