mirror of
https://github.com/czp3009/bilibili-api.git
synced 2025-02-19 20:50:28 +08:00
oauth2 info 接口未登录时返回 -101
This commit is contained in:
parent
4b2e2181fb
commit
17af93619d
@ -20,6 +20,7 @@ interface AppAPI {
|
||||
|
||||
/**
|
||||
* 登陆完成后将请求一次此接口以获得个人资料
|
||||
* 如果未登录将返回 {"code":-101,"message":"账号未登录","ttl":1}
|
||||
*/
|
||||
@Suppress("SpellCheckingInspection")
|
||||
@GET("/x/v2/account/myinfo")
|
||||
|
@ -57,6 +57,7 @@ interface PassportAPI {
|
||||
|
||||
/**
|
||||
* 获取 OAuth2 信息
|
||||
* 如果未登录会返回 {"message":"user not login","ts":1552319204,"code":-101}
|
||||
*/
|
||||
@Suppress("SpellCheckingInspection")
|
||||
@GET("/api/v2/oauth2/info")
|
||||
|
Loading…
Reference in New Issue
Block a user