Skip to content

Commit

Permalink
Fix #994 (#997)
Browse files Browse the repository at this point in the history
* Update charge_list.md

* Update errcode.md
  • Loading branch information
wuziqian211 authored Apr 9, 2024
1 parent dd152e8 commit 860fb3d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
13 changes: 8 additions & 5 deletions docs/electric/charge_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@

> https://api.bilibili.com/x/ugcpay-rank/elec/month/up
*请求方式:GET*
*请求方式:GET*

本接口需要在请求标头中提供有效的浏览器 UA,如 `Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36`

**url参数:**

Expand Down Expand Up @@ -70,6 +72,7 @@

```shell
curl -G 'https://api.bilibili.com/x/ugcpay-rank/elec/month/up' \
-A 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36' \
--data-urlencode 'up_mid=53456'
```

Expand Down Expand Up @@ -437,10 +440,10 @@ curl -G 'https://pay.bilibili.com/bk/brokerage/listForCustomerRechargeRecord' \

**url参数:**

| 参数名 | 类型 | 内容 | 必要性 | 备注 |
| -------- | ---- | -------- | ------ | -------------------------------- |
| pn | num | 页数 | 非必要 | |
| ps | num | 分页大小 | 非必要 | 取值范围[1,20] |
| 参数名 | 类型 | 内容 | 必要性 | 备注 |
| -------- | ---- | -------- | ------ | ---------------- |
| pn | num | 页数 | 非必要 | |
| ps | num | 分页大小 | 非必要 | 取值范围\[1,20\] |

**json回复:**

Expand Down
3 changes: 2 additions & 1 deletion docs/misc/errcode.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
| ---- | --------------------- |
| -304 | 木有改动 |
| -307 | 撞车跳转 |
| -352 | 风控校验失败 (UA 或 wbi 参数不合法) |
| -400 | 请求错误 |
| -401 | 未认证 (或非法请求) |
| -403 | 访问权限不足 |
Expand Down Expand Up @@ -58,4 +59,4 @@
| -689 | 版权限制 |
| -701 | 扣节操失败 |
| -799 | 请求过于频繁,请稍后再试 |
|-8888|对不起,服务器开小差了~ (ಥ﹏ಥ)|
| -8888 | 对不起,服务器开小差了~ (ಥ﹏ಥ) |

0 comments on commit 860fb3d

Please sign in to comment.