oauth2 info 接口未登录时返回 -101

This commit is contained in:
czp3009 2019-03-11 23:49:02 +08:00
parent 4b2e2181fb
commit 17af93619d
2 changed files with 2 additions and 0 deletions

View File

@ -20,6 +20,7 @@ interface AppAPI {
/**
* 登陆完成后将请求一次此接口以获得个人资料
* 如果未登录将返回 {"code":-101,"message":"账号未登录","ttl":1}
*/
@Suppress("SpellCheckingInspection")
@GET("/x/v2/account/myinfo")

View File

@ -57,6 +57,7 @@ interface PassportAPI {
/**
* 获取 OAuth2 信息
* 如果未登录会返回 {"message":"user not login","ts":1552319204,"code":-101}
*/
@Suppress("SpellCheckingInspection")
@GET("/api/v2/oauth2/info")