style(message): wrap URL with brackets & replace tabs with spaces
This commit is contained in:
@@ -2,9 +2,9 @@
|
|||||||
|
|
||||||
## 获取未读消息数
|
## 获取未读消息数
|
||||||
|
|
||||||
> https://api.bilibili.com/x/msgfeed/unread
|
> <https://api.bilibili.com/x/msgfeed/unread>
|
||||||
|
|
||||||
> https://api.vc.bilibili.com/x/im/web/msgfeed/unread (新接口)
|
> <https://api.vc.bilibili.com/x/im/web/msgfeed/unread> (新接口)
|
||||||
|
|
||||||
*请求方式:GET*
|
*请求方式:GET*
|
||||||
|
|
||||||
@@ -53,7 +53,7 @@
|
|||||||
|
|
||||||
```shell
|
```shell
|
||||||
curl 'https://api.vc.bilibili.com/x/im/web/msgfeed/unread' \
|
curl 'https://api.vc.bilibili.com/x/im/web/msgfeed/unread' \
|
||||||
-b 'SESSDATA=xxx'
|
-b 'SESSDATA=xxx'
|
||||||
```
|
```
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
@@ -61,23 +61,23 @@ curl 'https://api.vc.bilibili.com/x/im/web/msgfeed/unread' \
|
|||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"code": 0,
|
"code": 0,
|
||||||
"message": "0",
|
"message": "0",
|
||||||
"ttl": 1,
|
"ttl": 1,
|
||||||
"data": {
|
"data": {
|
||||||
"at": 3,
|
"at": 3,
|
||||||
"chat": 0,
|
"chat": 0,
|
||||||
"coin": 0,
|
"coin": 0,
|
||||||
"danmu": 0,
|
"danmu": 0,
|
||||||
"favorite": 0,
|
"favorite": 0,
|
||||||
"like": 10,
|
"like": 10,
|
||||||
"recv_like": 10,
|
"recv_like": 10,
|
||||||
"recv_reply": 4,
|
"recv_reply": 4,
|
||||||
"reply": 4,
|
"reply": 4,
|
||||||
"sys_msg": 2,
|
"sys_msg": 2,
|
||||||
"sys_msg_style": 1,
|
"sys_msg_style": 1,
|
||||||
"up": 1
|
"up": 1
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user