返回提交历史
Modified
docs/login/login_action/QR.md
+10
-3
XFEstudio/bilibili-API-collect
Update QR.md (#900)
c0d0623
代码差异
1 个文件
+10
-3
@@ -244,7 +244,7 @@ x-cache-webcdn: BYPASS from blzone02
244
244
245
245
## web端扫码登录-旧版
246
246
247
以下为旧版扫码登录 API,尚可正常访问
247
以下为旧版扫码登录 API,部分可正常访问
248
248
249
249
### 申请二维码(web端-旧版)
250
250
@@ -299,10 +299,15 @@ curl 'https://passport.bilibili.com/qrcode/getLoginUrl'
299
299
300
300
### 扫码登录(web端-旧版)
301
301
302
> https://passport.bilibili.com/qrcode/getLoginInfo
302
**接口已失效,请求结果始终为 `{ code: 20000, message: '该版本已不支持当前功能,请升级新版本!' }`**
303
304
> ~~https://passport.bilibili.com/qrcode/getLoginInfo~~
303
305
304
306
*请求方式:POST*
305
307
308
<details>
309
<summary>内容已过时:</summary>
310
306
311
密钥超时为180秒
307
312
308
313
验证登录成功后会进行设置以下cookie项:
@@ -322,7 +327,7 @@ curl 'https://passport.bilibili.com/qrcode/getLoginUrl'
322
327
323
328
| 字段 | 类型 | 内容 | 备注 |
324
329
|---------|----------------------|---------------------------|---------------------------------------------------------|
325
| code | num | 返回值 | 0:成功 |
330
| code | num | 返回值 | 0:成功,<br />20000:该版本已不支持当前功能,请升级新版本! |
326
331
| message | str | | 正确无 |
327
332
| ts | num | 扫码时间 | 错误无 |
328
333
| status | bool | 扫码是否成功 | true:成功<br />false:未成功 |
@@ -418,6 +423,8 @@ X-Cache-Webcdn: BYPASS from ks-sxhz-dx-w-01
418
423
419
424
</details>
420
425
426
</details>
427
421
428
## TV端扫码登录
422
429
423
430
### 申请二维码(TV端)