From 97e367f103c476a1fe80d8a696298f4a2140d44a Mon Sep 17 00:00:00 2001
From: ProgramRipper <2892771624@qq.com>
Date: Sun, 13 Sep 2020 17:42:23 +0800
Subject: [PATCH 1/2] Update login_info.md
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
登录用户信息2(web端)的nameplate_current为登录用户勋章url
---
login/login_info.md | 1 +
1 file changed, 1 insertion(+)
diff --git a/login/login_info.md b/login/login_info.md
index 5d359d3..bda76d2 100644
--- a/login/login_info.md
+++ b/login/login_info.md
@@ -212,6 +212,7 @@ curl 'http://api.bilibili.com/nav'\
| coins | num | 拥有硬币数 | |
| face | str | 登录用户头像url | |
| nameplate_current | null | ??? | 作用尚不明确 |
+| nameplate_current | str | 登录用户勋章url | |
| pendant_current | str | 登录用户头像框url | |
| uname | str | 登录用户昵称 | |
| userStatus | str | 登录用户状态 | |
From f7024b1e8ae368ec853828b78b63c20c0bd0b307 Mon Sep 17 00:00:00 2001
From: ProgramRipper <2892771624@qq.com>
Date: Sun, 13 Sep 2020 17:59:55 +0800
Subject: [PATCH 2/2] Update password.md
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
添加 使用账号密码登录(web端)的错误码-2100
---
login/login_action/password.md | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/login/login_action/password.md b/login/login_action/password.md
index 6c0e87e..ea12a50 100644
--- a/login/login_action/password.md
+++ b/login/login_action/password.md
@@ -151,7 +151,7 @@ YgpjxAQ22pKa9socHIKPCZX0a/NS6Ng9Zzy+rp16b0LJGT6RHw2ERs3+ijCpG96PKTY1Baavwf0xgotm
| 字段 | 类型 | 内容 | 备注 |
| ------- | ---- | ---------- | ------------------------------------------------------------ |
-| code | num | 返回值 | 0:成功
-400:请求错误
-629:账号或密码错误
-653:用户名或密码不能为空
-662:提交超时,请重新提交
-2001:缺少必要的的参数
2400:登录秘钥错误
2406:验证极验服务出错 |
+| code | num | 返回值 | 0:成功
-400:请求错误
-629:账号或密码错误
-653:用户名或密码不能为空
-662:提交超时,请重新提交
-2001:缺少必要的的参数
-2100:需验证手机号或邮箱
2400:登录秘钥错误
2406:验证极验服务出错 |
| ts | num | 当前时间戳 | 成功时无此项 |
| message | str | 错误信息 | 默认为0 |
| data | obj | 数据本体 | 成功时有此项 |
@@ -171,6 +171,16 @@ YgpjxAQ22pKa9socHIKPCZX0a/NS6Ng9Zzy+rp16b0LJGT6RHw2ERs3+ijCpG96PKTY1Baavwf0xgotm
| isLogin | bool | true | |
| goUrl | str | https://www.bilibili.com | |
+**需验证手机号或邮箱时**
+| 字段 | 类型 | 内容 | 备注 |
+| -------- | ---- | ------------------------ | ---------------- |
+| mid | num | 用户UID | |
+| tel | str | 绑定的手机号 | 星号隐藏部分信息 |
+| email | str | 绑定的邮箱 | 星号隐藏部分信息 |
+| sorce | num | 0 | **作用尚不明确** |
+| keeptime | num | 1 | **作用尚不明确** |
+| goUrl | str | https://www.bilibili.com | |
+
**示例:**
例如用户账号为`12345678900`,加密后的密码为`xxx`,登录秘钥为`aabbccdd`,极验challenge为`2333`,极验结果为`666666`,进行验证登录操作