import{_ as o,c as e,a as n,b as s,d as a,e as p,w as d,r,o as c}from"./app-Dgsdh8A6.js";const i={};function D(u,t){const l=r("RouteLink");return c(),e("div",null,[t[16]||(t[16]=n(`<h1 id="充电列表" tabindex="-1"><a class="header-anchor" href="#充电列表"><span>充电列表</span></a></h1><h2 id="获取空间充电公示列表" tabindex="-1"><a class="header-anchor" href="#获取空间充电公示列表"><span>获取空间充电公示列表</span></a></h2><blockquote><p><a href="https://api.bilibili.com/x/ugcpay-rank/elec/month/up" target="_blank" rel="noopener noreferrer">https://api.bilibili.com/x/ugcpay-rank/elec/month/up</a></p></blockquote><p><em>请求方式：GET</em></p><p>本接口需要在请求标头中提供有效的浏览器 UA，如 <code>Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36</code></p><p><strong>url参数：</strong></p><table><thead><tr><th>参数名</th><th>类型</th><th>内容</th><th>必要性</th><th>备注</th></tr></thead><tbody><tr><td>up_mid</td><td>num</td><td>目标用户mid</td><td>必要</td><td></td></tr></tbody></table><p><strong>json回复：</strong></p><p>根对象：</p><table><thead><tr><th>字段</th><th>类型</th><th>内容</th><th>备注</th></tr></thead><tbody><tr><td>code</td><td>num</td><td>返回值</td><td>0：成功<br>-400：请求错误<br>88214：up主未开通充电</td></tr><tr><td>message</td><td>str</td><td>错误信息</td><td></td></tr><tr><td>ttl</td><td>num</td><td>0</td><td></td></tr><tr><td>data</td><td>obj</td><td>数据本体</td><td></td></tr></tbody></table><p><code>data</code>对象：</p><table><thead><tr><th>字段</th><th>类型</th><th>内容</th><th>备注</th></tr></thead><tbody><tr><td>count</td><td>num</td><td>本月充电人数</td><td></td></tr><tr><td>list</td><td>array</td><td>本月充电用户列表</td><td></td></tr><tr><td>total_count</td><td>num</td><td>总计充电次数</td><td></td></tr><tr><td>total</td><td>num</td><td>总计充电次数</td><td>同<code>total_count</code></td></tr><tr><td>special_day</td><td>num</td><td>0</td><td>作用尚不明确</td></tr></tbody></table><p><code>data</code>中的<code>list</code>数组：</p><table><thead><tr><th>项</th><th>类型</th><th>内容</th><th>备注</th></tr></thead><tbody><tr><td>0</td><td>obj</td><td>充电用户1</td><td></td></tr><tr><td>n</td><td>obj</td><td>充电用户(n+1)</td><td>按照充电排名排列</td></tr><tr><td>……</td><td>obj</td><td>……</td><td>……</td></tr></tbody></table><p><code>data</code>中的<code>list</code>数组中的对象：</p><table><thead><tr><th>字段</th><th>类型</th><th>内容</th><th>备注</th></tr></thead><tbody><tr><td>uname</td><td>str</td><td>充电用户昵称</td><td></td></tr><tr><td>avatar</td><td>str</td><td>充电用户头像url</td><td></td></tr><tr><td>mid</td><td>num</td><td>充电对象mid</td><td></td></tr><tr><td>pay_mid</td><td>num</td><td>充电用户mid</td><td></td></tr><tr><td>rank</td><td>num</td><td>充电用户排名</td><td>取决于充电的多少</td></tr><tr><td>trend_type</td><td>num</td><td>0</td><td>作用尚不明确</td></tr><tr><td>vip_info</td><td>obj</td><td>充电用户会员信息</td><td></td></tr><tr><td>message</td><td>str</td><td>充电留言</td><td>无为空</td></tr><tr><td>msg_hidden</td><td>num</td><td>0</td><td>作用尚不明确</td></tr></tbody></table><p><code>list</code>数组中的对象中的<code>vip_info</code>对象：</p><table><thead><tr><th>字段</th><th>类型</th><th>内容</th><th>备注</th></tr></thead><tbody><tr><td>vipDueMsec</td><td>num</td><td>大会员过期时间</td><td>恒为0</td></tr><tr><td>vipStatus</td><td>num</td><td>大会员状态</td><td>包月充电时恒为0<br>自定义充电：<br>0：无<br>1：有</td></tr><tr><td>vipType</td><td>num</td><td>大会员类型</td><td>包月充电时恒为0<br>自定义充电：<br>0：无<br>1：月大会员<br>2：年度及以上大会员</td></tr></tbody></table><p><strong>示例：</strong></p><p>查询用户<code>mid=53456</code>的充电公示列表</p><div class="language-shell line-numbers-mode" data-highlighter="shiki" data-ext="shell" style="background-color:#1E1E1E;color:#D4D4D4;"><pre class="shiki dark-plus vp-code"><code class="language-shell"><span class="line"><span style="color:#DCDCAA;">curl</span><span style="color:#569CD6;"> -G</span><span style="color:#CE9178;"> &#39;https://api.bilibili.com/x/ugcpay-rank/elec/month/up&#39;</span><span style="color:#D7BA7D;"> \\</span></span>
<span class="line"><span style="color:#569CD6;">  -A</span><span style="color:#CE9178;"> &#39;Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36&#39;</span><span style="color:#D7BA7D;"> \\</span></span>
<span class="line"><span style="color:#569CD6;">  --data-urlencode</span><span style="color:#CE9178;"> &#39;up_mid=53456&#39;</span></span></code></pre><div class="line-numbers" aria-hidden="true" style="counter-reset:line-number 0;"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div><details><summary>查看响应示例：</summary><div class="language-json line-numbers-mode" data-highlighter="shiki" data-ext="json" style="background-color:#1E1E1E;color:#D4D4D4;"><pre class="shiki dark-plus vp-code"><code class="language-json"><span class="line"><span style="color:#D4D4D4;">{</span></span>
<span class="line"><span style="color:#9CDCFE;">  &quot;code&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">0</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">  &quot;message&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">  &quot;ttl&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">0</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">  &quot;data&quot;</span><span style="color:#D4D4D4;">: {</span></span>
<span class="line"><span style="color:#9CDCFE;">    &quot;count&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">8521</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">    &quot;list&quot;</span><span style="color:#D4D4D4;">: [</span></span>
<span class="line"><span style="color:#D4D4D4;">      {</span></span>
<span class="line"><span style="color:#9CDCFE;">        &quot;uname&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;云梦澡堂&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">        &quot;avatar&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;https://i1.hdslb.com/bfs/face/6589df5fdac0f80593f6a86e4d88dc08e25df3d2.jpg&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">        &quot;mid&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">53456</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">        &quot;pay_mid&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">1555775947</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">        &quot;rank&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">1</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">        &quot;trend_type&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">0</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">        &quot;vip_info&quot;</span><span style="color:#D4D4D4;">: { </span><span style="color:#9CDCFE;">&quot;vipDueMsec&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">0</span><span style="color:#D4D4D4;">, </span><span style="color:#9CDCFE;">&quot;vipStatus&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">0</span><span style="color:#D4D4D4;">, </span><span style="color:#9CDCFE;">&quot;vipType&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">0</span><span style="color:#D4D4D4;"> },</span></span>
<span class="line"><span style="color:#9CDCFE;">        &quot;message&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">        &quot;message_hidden&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">0</span></span>
<span class="line"><span style="color:#D4D4D4;">      },</span></span>
<span class="line"><span style="color:#D4D4D4;">      {</span></span>
<span class="line"><span style="color:#9CDCFE;">        &quot;uname&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;在下小天子&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">        &quot;avatar&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;https://i1.hdslb.com/bfs/face/a3bfbe6186889bb50dcd87c1156d07a70227a25b.jpg&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">        &quot;mid&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">53456</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">        &quot;pay_mid&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">508630801</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">        &quot;rank&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">2</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">        &quot;trend_type&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">0</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">        &quot;vip_info&quot;</span><span style="color:#D4D4D4;">: { </span><span style="color:#9CDCFE;">&quot;vipDueMsec&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">0</span><span style="color:#D4D4D4;">, </span><span style="color:#9CDCFE;">&quot;vipStatus&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">0</span><span style="color:#D4D4D4;">, </span><span style="color:#9CDCFE;">&quot;vipType&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">0</span><span style="color:#D4D4D4;"> },</span></span>
<span class="line"><span style="color:#9CDCFE;">        &quot;message&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">        &quot;message_hidden&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">0</span></span>
<span class="line"><span style="color:#D4D4D4;">      }</span></span>
<span class="line"><span style="color:#D4D4D4;">    ],</span></span>
<span class="line"><span style="color:#9CDCFE;">    &quot;total_count&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">41919</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">    &quot;total&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">41919</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">    &quot;special_day&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">0</span></span>
<span class="line"><span style="color:#D4D4D4;">  }</span></span>
<span class="line"><span style="color:#D4D4D4;">}</span></span></code></pre><div class="line-numbers" aria-hidden="true" style="counter-reset:line-number 0;"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div></details><h2 id="获取视频充电鸣谢名单" tabindex="-1"><a class="header-anchor" href="#获取视频充电鸣谢名单"><span>获取视频充电鸣谢名单</span></a></h2><blockquote><p><a href="https://api.bilibili.com/x/web-interface/elec/show" target="_blank" rel="noopener noreferrer">https://api.bilibili.com/x/web-interface/elec/show</a></p></blockquote><p><em>请求方式:GET</em></p><p><strong>url参数：</strong></p><table><thead><tr><th>参数名</th><th>类型</th><th>内容</th><th>必要性</th><th>备注</th></tr></thead><tbody><tr><td>mid</td><td>num</td><td>目标用户mid</td><td>必要</td><td></td></tr><tr><td>aid</td><td>num</td><td>目标稿件avid</td><td>必要（可选）</td><td>avid与bvid任选一个</td></tr><tr><td>bvid</td><td>str</td><td>目标稿件bvid</td><td>必要（可选）</td><td>avid与bvid任选一个</td></tr></tbody></table><p><strong>json回复：</strong></p><p>根对象：</p><table><thead><tr><th>字段</th><th>类型</th><th>内容</th><th>备注</th></tr></thead><tbody><tr><td>code</td><td>num</td><td>返回值</td><td>0：成功<br>-400：请求错误<br>-404：无视频<br>62001：不需要展示充电信息</td></tr><tr><td>message</td><td>str</td><td>错误信息</td><td>默认为0</td></tr><tr><td>ttl</td><td>num</td><td>1</td><td></td></tr><tr><td>data</td><td>obj</td><td>信息本体</td><td></td></tr></tbody></table><p><code>data</code>对象：</p><table><thead><tr><th>字段</th><th>类型</th><th>内容</th><th>备注</th></tr></thead><tbody><tr><td>show_info</td><td>obj</td><td>展示选项</td><td></td></tr><tr><td>av_count</td><td>num</td><td>目标视频充电人数</td><td></td></tr><tr><td>count</td><td>num</td><td>本月充电人数</td><td></td></tr><tr><td>total_count</td><td>num</td><td>总计充电人数</td><td></td></tr><tr><td>special_day</td><td>num</td><td>0</td><td>作用尚不明确</td></tr><tr><td>display_num</td><td>num</td><td>0</td><td>作用尚不明确</td></tr><tr><td>cnt_priv_type</td><td>num</td><td>0</td><td>作用尚不明确</td></tr><tr><td>list</td><td>array</td><td>本月充电用户列表</td><td></td></tr></tbody></table><p><code>data</code>中的<code>show_info</code>对象：</p><table><thead><tr><th>字段</th><th>类型</th><th>内容</th><th>备注</th></tr></thead><tbody><tr><td>show</td><td>bool</td><td>是否展示视频充电鸣谢名单</td><td></td></tr><tr><td>state</td><td>num</td><td>充电功能开启状态</td><td>-1：未开通充电功能<br>1：已开通自定义充电<br>2：已开通包月、自定义充电<br>3：已开通包月高档、自定义充电</td></tr><tr><td>title</td><td>str</td><td>充电按钮显示文字</td><td>空字符串或 <code>充电</code> 或 <code>充电中</code></td></tr><tr><td>jump_url</td><td>str</td><td>跳转url</td><td></td></tr><tr><td>icon</td><td>str</td><td>充电图标</td><td></td></tr><tr><td>high_level</td><td>obj</td><td>充电专属视频信息</td><td></td></tr><tr><td>with_qa_id</td><td>num</td><td>充电问答id</td><td></td></tr></tbody></table><p><code>show_info</code>中的<code>high_level</code>对象：</p>`,35)),s("table",null,[t[15]||(t[15]=s("thead",null,[s("tr",null,[s("th",null,"字段"),s("th",null,"类型"),s("th",null,"内容"),s("th",null,"备注")])],-1)),s("tbody",null,[s("tr",null,[t[2]||(t[2]=s("td",null,"privilege_type",-1)),t[3]||(t[3]=s("td",null,"num",-1)),t[4]||(t[4]=s("td",null,"解锁视频所需最低定价档位的代码",-1)),s("td",null,[t[1]||(t[1]=a("见")),p(l,{to:"/docs/electric/monthly.html#%E5%85%85%E7%94%B5%E6%A1%A3%E4%BD%8D%E4%BB%A3%E7%A0%81privilege_type%E4%B8%8E%E5%AE%9A%E4%BB%B7"},{default:d(()=>t[0]||(t[0]=[a("充电档位代码与定价")])),_:1,__:[0]})])]),t[5]||(t[5]=s("tr",null,[s("td",null,"title"),s("td",null,"str"),s("td",null,"提示标题"),s("td",null,[s("code",null,"该视频为「{充电档位名称}」专属视频")])],-1)),t[6]||(t[6]=s("tr",null,[s("td",null,"sub_title"),s("td",null,"str"),s("td",null,"提示子标题"),s("td",null,[s("code",null,"开通「{充电档位定价}元档包月充电」即可观看")])],-1)),t[7]||(t[7]=s("tr",null,[s("td",null,"show_button"),s("td",null,"bool"),s("td",null,"是否显示按钮"),s("td")],-1)),t[8]||(t[8]=s("tr",null,[s("td",null,"button_text"),s("td",null,"str"),s("td",null,"按钮文本"),s("td",null,[s("code",null,"去开通")])],-1)),t[9]||(t[9]=s("tr",null,[s("td",null,"jump_url"),s("td",null,"obj"),s("td",null,"跳转url信息"),s("td",null,"详细信息有待补充")],-1)),t[10]||(t[10]=s("tr",null,[s("td",null,"intro"),s("td",null,"str"),s("td",null,"充电介绍语"),s("td")],-1)),t[11]||(t[11]=s("tr",null,[s("td",null,"open"),s("td",null,"bool"),s("td",null,"（？）"),s("td")],-1)),t[12]||(t[12]=s("tr",null,[s("td",null,"new"),s("td",null,"bool"),s("td",null,"（？）"),s("td")],-1)),t[13]||(t[13]=s("tr",null,[s("td",null,"question_text"),s("td",null,"str"),s("td",null,"（？）"),s("td")],-1)),t[14]||(t[14]=s("tr",null,[s("td",null,"qa_detail_link"),s("td",null,"str"),s("td",null,"（？）"),s("td")],-1))])]),t[17]||(t[17]=n(`<p><code>high_level</code>中的<code>jump_url</code>对象：</p><table><thead><tr><th>字段</th><th>类型</th><th>内容</th><th>备注</th></tr></thead><tbody><tr><td>up_link</td><td>str</td><td>UP主包月充电购买页面url</td><td></td></tr><tr><td>paywall_link</td><td>str</td><td>视频试看后的提示页面url</td><td></td></tr><tr><td>previewbar_link</td><td>str</td><td>视频预览页面url</td><td></td></tr></tbody></table><p><code>data</code>中的<code>list</code>数组：</p><table><thead><tr><th>项</th><th>类型</th><th>内容</th><th>备注</th></tr></thead><tbody><tr><td>0</td><td>obj</td><td>充电用户1</td><td></td></tr><tr><td>n</td><td>obj</td><td>充电用户(n+1)</td><td>按照充电排名排列</td></tr><tr><td>……</td><td>obj</td><td>……</td><td>……</td></tr></tbody></table><p><code>data</code>中的<code>list</code>数组中的对象：</p><table><thead><tr><th>字段</th><th>类型</th><th>内容</th><th>备注</th></tr></thead><tbody><tr><td>mid</td><td>num</td><td>充电对象mid</td><td></td></tr><tr><td>pay_mid</td><td>num</td><td>充电用户mid</td><td></td></tr><tr><td>rank</td><td>num</td><td>充电用户排名</td><td>取决于充电的多少</td></tr><tr><td>uname</td><td>str</td><td>充电用户昵称</td><td></td></tr><tr><td>avatar</td><td>str</td><td>充电用户头像url</td><td></td></tr><tr><td>message</td><td>str</td><td>充电留言</td><td>无为空</td></tr><tr><td>msg_deleted</td><td>num</td><td>0</td><td>作用尚不明确</td></tr><tr><td>vip_info</td><td>obj</td><td>充电用户会员信息</td><td></td></tr><tr><td>trend_type</td><td>num</td><td>0</td><td>作用尚不明确</td></tr></tbody></table><p><code>data</code>中的<code>list</code>数组中的<code>vip_info</code>对象：</p><table><thead><tr><th>字段</th><th>类型</th><th>内容</th><th>备注</th></tr></thead><tbody><tr><td>vipType</td><td>num</td><td>大会员类型</td><td>包月充电时恒为0<br>自定义充电：<br>0：无<br>1：月大会员<br>2：年度及以上大会员</td></tr><tr><td>vipDueMsec</td><td>num</td><td>大会员过期时间</td><td>恒为0</td></tr><tr><td>vipStatus</td><td>num</td><td>大会员状态</td><td>包月充电时恒为0<br>自定义充电：<br>0：无<br>1：有</td></tr></tbody></table><p><strong>示例：</strong></p><p>获取视频<code>av967773538</code>/<code>BV1up4y1y77i</code>，用户<code>mid=53456</code>的视频充电鸣谢名单</p><p>avid方式：</p><div class="language-shell line-numbers-mode" data-highlighter="shiki" data-ext="shell" style="background-color:#1E1E1E;color:#D4D4D4;"><pre class="shiki dark-plus vp-code"><code class="language-shell"><span class="line"><span style="color:#DCDCAA;">curl</span><span style="color:#569CD6;"> -G</span><span style="color:#CE9178;"> &#39;https://api.bilibili.com/x/web-interface/elec/show&#39;</span><span style="color:#D7BA7D;"> \\</span></span>
<span class="line"><span style="color:#569CD6;">  --data-urlencode</span><span style="color:#CE9178;"> &#39;mid=53456&#39;</span><span style="color:#D7BA7D;"> \\</span></span>
<span class="line"><span style="color:#569CD6;">  --data-urlencode</span><span style="color:#CE9178;"> &#39;aid=967773538&#39;</span></span></code></pre><div class="line-numbers" aria-hidden="true" style="counter-reset:line-number 0;"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div><p>bvid方式：</p><div class="language-shell line-numbers-mode" data-highlighter="shiki" data-ext="shell" style="background-color:#1E1E1E;color:#D4D4D4;"><pre class="shiki dark-plus vp-code"><code class="language-shell"><span class="line"><span style="color:#DCDCAA;">curl</span><span style="color:#569CD6;"> -G</span><span style="color:#CE9178;"> &#39;https://api.bilibili.com/x/web-interface/elec/show&#39;</span><span style="color:#D7BA7D;"> \\</span></span>
<span class="line"><span style="color:#569CD6;">  --data-urlencode</span><span style="color:#CE9178;"> &#39;mid=53456&#39;</span><span style="color:#D7BA7D;"> \\</span></span>
<span class="line"><span style="color:#569CD6;">  --data-urlencode</span><span style="color:#CE9178;"> &#39;bvid=BV1up4y1y77i&#39;</span></span></code></pre><div class="line-numbers" aria-hidden="true" style="counter-reset:line-number 0;"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div><details><summary>查看响应示例：</summary><div class="language-json line-numbers-mode" data-highlighter="shiki" data-ext="json" style="background-color:#1E1E1E;color:#D4D4D4;"><pre class="shiki dark-plus vp-code"><code class="language-json"><span class="line"><span style="color:#D4D4D4;">{</span></span>
<span class="line"><span style="color:#9CDCFE;">  &quot;code&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">0</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">  &quot;message&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;0&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">  &quot;ttl&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">1</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">  &quot;data&quot;</span><span style="color:#D4D4D4;">: {</span></span>
<span class="line"><span style="color:#9CDCFE;">    &quot;show_info&quot;</span><span style="color:#D4D4D4;">: {</span></span>
<span class="line"><span style="color:#9CDCFE;">      &quot;show&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#569CD6;">true</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">      &quot;state&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">2</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">      &quot;title&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;充电&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">      &quot;jump_url&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;https://www.bilibili.com/h5/upower/index?mid=53456&amp;navhide=1&amp;prePage=video&amp;oid=967773538&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">      &quot;icon&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;https://i0.hdslb.com/bfs/garb/item/33e2e72d9a0c855f036b4cb55448f44af67a0635.png&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">      &quot;high_level&quot;</span><span style="color:#D4D4D4;">: {</span></span>
<span class="line"><span style="color:#9CDCFE;">        &quot;privilege_type&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">0</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">        &quot;title&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">        &quot;sub_title&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">        &quot;show_button&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#569CD6;">false</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">        &quot;button_text&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">        &quot;jump_url&quot;</span><span style="color:#D4D4D4;">: { </span><span style="color:#9CDCFE;">&quot;up_link&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;&quot;</span><span style="color:#D4D4D4;">, </span><span style="color:#9CDCFE;">&quot;paywall_link&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;&quot;</span><span style="color:#D4D4D4;">, </span><span style="color:#9CDCFE;">&quot;previewbar_link&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;&quot;</span><span style="color:#D4D4D4;"> },</span></span>
<span class="line"><span style="color:#9CDCFE;">        &quot;intro&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">        &quot;open&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#569CD6;">false</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">        &quot;new&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#569CD6;">false</span></span>
<span class="line"><span style="color:#D4D4D4;">      }</span></span>
<span class="line"><span style="color:#D4D4D4;">    },</span></span>
<span class="line"><span style="color:#9CDCFE;">    &quot;av_count&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">0</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">    &quot;count&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">0</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">    &quot;total_count&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">41919</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">    &quot;special_day&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">0</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">    &quot;display_num&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">0</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">    &quot;cnt_priv_type&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">0</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">    &quot;list&quot;</span><span style="color:#D4D4D4;">: [</span></span>
<span class="line"><span style="color:#D4D4D4;">      {</span></span>
<span class="line"><span style="color:#9CDCFE;">        &quot;mid&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">53456</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">        &quot;pay_mid&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">1555775947</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">        &quot;rank&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">1</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">        &quot;uname&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;云梦澡堂&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">        &quot;avatar&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;https://i1.hdslb.com/bfs/face/6589df5fdac0f80593f6a86e4d88dc08e25df3d2.jpg&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">        &quot;message&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">        &quot;msg_deleted&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">0</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">        &quot;vip_info&quot;</span><span style="color:#D4D4D4;">: { </span><span style="color:#9CDCFE;">&quot;vipType&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">0</span><span style="color:#D4D4D4;">, </span><span style="color:#9CDCFE;">&quot;vipDueMsec&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">0</span><span style="color:#D4D4D4;">, </span><span style="color:#9CDCFE;">&quot;vipStatus&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">0</span><span style="color:#D4D4D4;"> },</span></span>
<span class="line"><span style="color:#9CDCFE;">        &quot;trend_type&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">0</span></span>
<span class="line"><span style="color:#D4D4D4;">      },</span></span>
<span class="line"><span style="color:#D4D4D4;">      {</span></span>
<span class="line"><span style="color:#9CDCFE;">        &quot;mid&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">53456</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">        &quot;pay_mid&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">508630801</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">        &quot;rank&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">2</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">        &quot;uname&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;在下小天子&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">        &quot;avatar&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;https://i1.hdslb.com/bfs/face/a3bfbe6186889bb50dcd87c1156d07a70227a25b.jpg&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">        &quot;message&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">        &quot;msg_deleted&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">0</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">        &quot;vip_info&quot;</span><span style="color:#D4D4D4;">: { </span><span style="color:#9CDCFE;">&quot;vipType&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">0</span><span style="color:#D4D4D4;">, </span><span style="color:#9CDCFE;">&quot;vipDueMsec&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">0</span><span style="color:#D4D4D4;">, </span><span style="color:#9CDCFE;">&quot;vipStatus&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">0</span><span style="color:#D4D4D4;"> },</span></span>
<span class="line"><span style="color:#9CDCFE;">        &quot;trend_type&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">0</span></span>
<span class="line"><span style="color:#D4D4D4;">      }</span></span>
<span class="line"><span style="color:#D4D4D4;">    ]</span></span>
<span class="line"><span style="color:#D4D4D4;">  }</span></span>
<span class="line"><span style="color:#D4D4D4;">}</span></span></code></pre><div class="line-numbers" aria-hidden="true" style="counter-reset:line-number 0;"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div></details><h2 id="查询我收到的充电列表" tabindex="-1"><a class="header-anchor" href="#查询我收到的充电列表"><span>查询我收到的充电列表</span></a></h2><blockquote><p><a href="https://pay.bilibili.com/bk/brokerage/listForCustomerRechargeRecord" target="_blank" rel="noopener noreferrer">https://pay.bilibili.com/bk/brokerage/listForCustomerRechargeRecord</a></p></blockquote><p><em>请求方式：GET</em></p><p>认证方式：Cookie（SESSDATA）</p><p><strong>url参数：</strong></p><table><thead><tr><th>参数名</th><th>类型</th><th>内容</th><th>必要性</th><th>备注</th></tr></thead><tbody><tr><td>currentPage</td><td>num</td><td>页数</td><td>必要</td><td></td></tr><tr><td>pageSize</td><td>num</td><td>分页大小</td><td>必要</td><td>取值范围[1,50]</td></tr><tr><td>customerId</td><td>num</td><td>(?)</td><td>必要</td><td>目前为固定值：10026</td></tr><tr><td>beginTime</td><td>str</td><td>开始日期</td><td>非必要</td><td>yyyy-MM-dd</td></tr><tr><td>endTime</td><td>str</td><td>结束日期</td><td>非必要</td><td>yyyy-MM-dd</td></tr></tbody></table><p><strong>json回复：</strong></p><p>根对象：</p><table><thead><tr><th>字段</th><th>类型</th><th>内容</th><th>备注</th></tr></thead><tbody><tr><td>code</td><td>num</td><td>返回值</td><td>0：成功<br>800501007：user not login<br>800501008：内部错误<br>800501011：请求参数有误</td></tr><tr><td>errno</td><td>num</td><td></td><td></td></tr><tr><td>msg</td><td>str</td><td></td><td></td></tr><tr><td>showMsg</td><td>str</td><td></td><td></td></tr><tr><td>data</td><td>obj</td><td>信息本体</td><td></td></tr><tr><td>success</td><td>bool</td><td></td><td></td></tr></tbody></table><p><code>data</code>对象：</p><table><thead><tr><th>字段</th><th>类型</th><th>内容</th><th>备注</th></tr></thead><tbody><tr><td>page</td><td>obj</td><td>分页信息</td><td></td></tr><tr><td>result</td><td>array</td><td>充电信息本体</td><td></td></tr><tr><td>config</td><td>array</td><td>(?)</td><td></td></tr></tbody></table><p><code>page</code>对象：</p><table><thead><tr><th>字段</th><th>类型</th><th>内容</th><th>备注</th></tr></thead><tbody><tr><td>currentPage</td><td>num</td><td>当前页数</td><td></td></tr><tr><td>pageSize</td><td>num</td><td>当前分页大小</td><td></td></tr><tr><td>totalCount</td><td>num</td><td>记录总数</td><td></td></tr><tr><td>totalPage</td><td>num</td><td>总页数</td><td></td></tr></tbody></table><p><code>result</code>数组中的对象：</p><table><thead><tr><th>字段</th><th>类型</th><th>内容</th><th>备注</th></tr></thead><tbody><tr><td>mid</td><td>num</td><td>充电人mid</td><td></td></tr><tr><td>name</td><td>str</td><td>充电人昵称</td><td></td></tr><tr><td>avatar</td><td>str</td><td>充电人头像</td><td></td></tr><tr><td>originalThirdCoin</td><td>num</td><td>原始B币数</td><td></td></tr><tr><td>brokerage</td><td>num</td><td>实际收到的贝壳数</td><td></td></tr><tr><td>remark</td><td>str</td><td>充电渠道</td><td>Web/安卓/iOS</td></tr><tr><td>ctime</td><td>str</td><td>充电时间</td><td>yyyy-MM-dd HH:mm:ss</td></tr></tbody></table><p><code>config</code>数组中的对象：</p><table><thead><tr><th>字段</th><th>类型</th><th>内容</th><th>备注</th></tr></thead><tbody><tr><td>mid</td><td>null</td><td></td><td>总是为null</td></tr><tr><td>name</td><td>null</td><td></td><td>总是为null</td></tr><tr><td>avatar</td><td>null</td><td></td><td>总是为null</td></tr><tr><td>originalThirdCoin</td><td>null</td><td></td><td>总是为null</td></tr><tr><td>brokerage</td><td>null</td><td></td><td>总是为null</td></tr><tr><td>remark</td><td>null</td><td></td><td>总是为null</td></tr><tr><td>ctime</td><td>null</td><td></td><td>总是为null</td></tr></tbody></table><p><strong>示例：</strong></p><div class="language-shell line-numbers-mode" data-highlighter="shiki" data-ext="shell" style="background-color:#1E1E1E;color:#D4D4D4;"><pre class="shiki dark-plus vp-code"><code class="language-shell"><span class="line"><span style="color:#DCDCAA;">curl</span><span style="color:#569CD6;"> -G</span><span style="color:#CE9178;"> &#39;https://pay.bilibili.com/bk/brokerage/listForCustomerRechargeRecord&#39;</span><span style="color:#D7BA7D;"> \\</span></span>
<span class="line"><span style="color:#569CD6;">  --data-urlencode</span><span style="color:#CE9178;"> &#39;currentPage=1&#39;</span><span style="color:#D7BA7D;"> \\</span></span>
<span class="line"><span style="color:#569CD6;">  --data-urlencode</span><span style="color:#CE9178;"> &#39;pageSize=2&#39;</span><span style="color:#D7BA7D;"> \\</span></span>
<span class="line"><span style="color:#569CD6;">  --data-urlencode</span><span style="color:#CE9178;"> &#39;customerId=10026&#39;</span><span style="color:#D7BA7D;"> \\</span></span>
<span class="line"><span style="color:#569CD6;">  -b</span><span style="color:#CE9178;"> &#39;SESSDATA=xxx&#39;</span></span></code></pre><div class="line-numbers" aria-hidden="true" style="counter-reset:line-number 0;"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div><details><summary>查看响应示例：</summary><div class="language-json line-numbers-mode" data-highlighter="shiki" data-ext="json" style="background-color:#1E1E1E;color:#D4D4D4;"><pre class="shiki dark-plus vp-code"><code class="language-json"><span class="line"><span style="color:#D4D4D4;">{</span></span>
<span class="line"><span style="color:#9CDCFE;">  &quot;code&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">0</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">  &quot;errno&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">0</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">  &quot;msg&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;SUCCESS&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">  &quot;showMsg&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;交易成功&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">  &quot;data&quot;</span><span style="color:#D4D4D4;">: {</span></span>
<span class="line"><span style="color:#9CDCFE;">    &quot;page&quot;</span><span style="color:#D4D4D4;">: {</span></span>
<span class="line"><span style="color:#9CDCFE;">      &quot;currentPage&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">1</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">      &quot;pageSize&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">2</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">      &quot;totalCount&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">311</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">      &quot;totalPage&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">156</span></span>
<span class="line"><span style="color:#D4D4D4;">    },</span></span>
<span class="line"><span style="color:#9CDCFE;">    &quot;result&quot;</span><span style="color:#D4D4D4;">: [</span></span>
<span class="line"><span style="color:#D4D4D4;">      {</span></span>
<span class="line"><span style="color:#9CDCFE;">        &quot;mid&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">2233</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">        &quot;name&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;2233&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">        &quot;avatar&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;http://i2.hdslb.com/bfs/face/f42b7f47c80648d2ee1231f2435b527c60302289.jpg&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">        &quot;originalThirdCoin&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">2</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">        &quot;brokerage&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">1.34</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">        &quot;remark&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;Web&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">        &quot;ctime&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;2022-04-12 17:34:47&quot;</span></span>
<span class="line"><span style="color:#D4D4D4;">      },</span></span>
<span class="line"><span style="color:#D4D4D4;">      {</span></span>
<span class="line"><span style="color:#9CDCFE;">        &quot;mid&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">2233</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">        &quot;name&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;2233&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">        &quot;avatar&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;http://i0.hdslb.com/bfs/face/member/noface.jpg&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">        &quot;originalThirdCoin&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">2</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">        &quot;brokerage&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">0.68</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">        &quot;remark&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;iOS&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">        &quot;ctime&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;2022-04-10 03:41:10&quot;</span></span>
<span class="line"><span style="color:#D4D4D4;">      }</span></span>
<span class="line"><span style="color:#D4D4D4;">    ],</span></span>
<span class="line"><span style="color:#9CDCFE;">    &quot;config&quot;</span><span style="color:#D4D4D4;">: [</span></span>
<span class="line"><span style="color:#D4D4D4;">      {</span></span>
<span class="line"><span style="color:#9CDCFE;">        &quot;mid&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#569CD6;">null</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">        &quot;name&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#569CD6;">null</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">        &quot;avatar&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#569CD6;">null</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">        &quot;originalThirdCoin&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#569CD6;">null</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">        &quot;brokerage&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#569CD6;">null</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">        &quot;remark&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#569CD6;">null</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">        &quot;ctime&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#569CD6;">null</span></span>
<span class="line"><span style="color:#D4D4D4;">      }</span></span>
<span class="line"><span style="color:#D4D4D4;">    ]</span></span>
<span class="line"><span style="color:#D4D4D4;">  },</span></span>
<span class="line"><span style="color:#9CDCFE;">  &quot;success&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#569CD6;">true</span></span>
<span class="line"><span style="color:#D4D4D4;">}</span></span></code></pre><div class="line-numbers" aria-hidden="true" style="counter-reset:line-number 0;"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div></details><h2 id="查询历史充电数据" tabindex="-1"><a class="header-anchor" href="#查询历史充电数据"><span>查询历史充电数据</span></a></h2><blockquote><p><a href="https://member.bilibili.com/x/h5/elec/rank/recent" target="_blank" rel="noopener noreferrer">https://member.bilibili.com/x/h5/elec/rank/recent</a></p></blockquote><p><em>请求方式：GET</em></p><p>认证方式：Cookie（SESSDATA）</p><p><strong>url参数：</strong></p><table><thead><tr><th>参数名</th><th>类型</th><th>内容</th><th>必要性</th><th>备注</th></tr></thead><tbody><tr><td>pn</td><td>num</td><td>页数</td><td>非必要</td><td></td></tr><tr><td>ps</td><td>num</td><td>分页大小</td><td>非必要</td><td>取值范围[1,20]</td></tr></tbody></table><p><strong>json回复：</strong></p><p>根对象：</p><table><thead><tr><th>字段</th><th>类型</th><th>内容</th><th>备注</th></tr></thead><tbody><tr><td>code</td><td>num</td><td>返回值</td><td>0：成功</td></tr><tr><td>message</td><td>str</td><td>错误信息</td><td></td></tr><tr><td>ttl</td><td>num</td><td>1</td><td></td></tr><tr><td>data</td><td>obj</td><td>信息本体</td><td></td></tr></tbody></table><p><code>data</code>对象：</p><table><thead><tr><th>字段</th><th>类型</th><th>内容</th><th>备注</th></tr></thead><tbody><tr><td>list</td><td>array</td><td>充电信息本体</td><td></td></tr><tr><td>pager</td><td>obj</td><td>分页信息</td><td></td></tr></tbody></table><p><code>list</code>数组中的对象：</p><table><thead><tr><th>字段</th><th>类型</th><th>内容</th><th>备注</th></tr></thead><tbody><tr><td>aid</td><td>num</td><td>0</td><td></td></tr><tr><td>bvid</td><td>str</td><td>空</td><td></td></tr><tr><td>elec_num</td><td>num</td><td>充电电池数</td><td></td></tr><tr><td>title</td><td>str</td><td>空</td><td></td></tr><tr><td>uname</td><td>str</td><td>空</td><td></td></tr><tr><td>avatar</td><td>str</td><td>空</td><td></td></tr><tr><td>ctime</td><td>str</td><td>充电时间</td><td>yyyy-MM-dd HH:mm:ss</td></tr></tbody></table><p><code>pager</code>对象：</p><table><thead><tr><th>字段</th><th>类型</th><th>内容</th><th>备注</th></tr></thead><tbody><tr><td>current</td><td>num</td><td>当前页数</td><td></td></tr><tr><td>size</td><td>num</td><td>当前分页大小</td><td></td></tr><tr><td>total</td><td>num</td><td>记录总数</td><td></td></tr></tbody></table><p><strong>示例：</strong></p><div class="language-shell line-numbers-mode" data-highlighter="shiki" data-ext="shell" style="background-color:#1E1E1E;color:#D4D4D4;"><pre class="shiki dark-plus vp-code"><code class="language-shell"><span class="line"><span style="color:#DCDCAA;">curl</span><span style="color:#569CD6;"> -G</span><span style="color:#CE9178;"> &#39;https://member.bilibili.com/x/h5/elec/rank/recent&#39;</span><span style="color:#D7BA7D;"> \\</span></span>
<span class="line"><span style="color:#569CD6;">  -b</span><span style="color:#CE9178;"> &#39;SESSDATA=xxx&#39;</span></span></code></pre><div class="line-numbers" aria-hidden="true" style="counter-reset:line-number 0;"><div class="line-number"></div><div class="line-number"></div></div></div><details><summary>查看响应示例：</summary><div class="language-json line-numbers-mode" data-highlighter="shiki" data-ext="json" style="background-color:#1E1E1E;color:#D4D4D4;"><pre class="shiki dark-plus vp-code"><code class="language-json"><span class="line"><span style="color:#D4D4D4;">{</span></span>
<span class="line"><span style="color:#9CDCFE;">  &quot;code&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">0</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">  &quot;message&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;0&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">  &quot;ttl&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">1</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">  &quot;data&quot;</span><span style="color:#D4D4D4;">: {</span></span>
<span class="line"><span style="color:#9CDCFE;">    &quot;list&quot;</span><span style="color:#D4D4D4;">: [</span></span>
<span class="line"><span style="color:#D4D4D4;">      {</span></span>
<span class="line"><span style="color:#9CDCFE;">        &quot;aid&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">0</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">        &quot;bvid&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">        &quot;elec_num&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">50</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">        &quot;title&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">        &quot;uname&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">        &quot;avatar&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">        &quot;ctime&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;2020-04-02 03:12:22&quot;</span></span>
<span class="line"><span style="color:#D4D4D4;">      },</span></span>
<span class="line"><span style="color:#D4D4D4;">      {</span></span>
<span class="line"><span style="color:#9CDCFE;">        &quot;aid&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">0</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">        &quot;bvid&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">        &quot;elec_num&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">20</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">        &quot;title&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">        &quot;uname&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">        &quot;avatar&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">        &quot;ctime&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;2020-04-02 03:12:00&quot;</span></span>
<span class="line"><span style="color:#D4D4D4;">      }</span></span>
<span class="line"><span style="color:#D4D4D4;">    ],</span></span>
<span class="line"><span style="color:#9CDCFE;">    &quot;pager&quot;</span><span style="color:#D4D4D4;">: {</span></span>
<span class="line"><span style="color:#9CDCFE;">      &quot;current&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">1</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">      &quot;size&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">20</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">      &quot;total&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">38</span></span>
<span class="line"><span style="color:#D4D4D4;">    }</span></span>
<span class="line"><span style="color:#D4D4D4;">  }</span></span>
<span class="line"><span style="color:#D4D4D4;">}</span></span></code></pre><div class="line-numbers" aria-hidden="true" style="counter-reset:line-number 0;"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div></details>`,53))])}const b=o(i,[["render",D]]),m=JSON.parse('{"path":"/docs/electric/charge_list.html","title":"充电列表","lang":"zh-CN","frontmatter":{},"git":{"updatedTime":1746374328000,"contributors":[{"name":"SocialSisterYi","username":"SocialSisterYi","email":"1440239038@qq.com","commits":2,"url":"https://github.com/SocialSisterYi"},{"name":"wuziqian211","username":"wuziqian211","email":"65224318+wuziqian211@users.noreply.github.com","commits":11,"url":"https://github.com/wuziqian211"},{"name":"z0z0r4","username":"z0z0r4","email":"z0z0r4@outlook.com","commits":1,"url":"https://github.com/z0z0r4"}],"changelog":[{"hash":"591dcf4d9f4b6c4ca8ff3390ae71b4a25df86afa","time":1746374328000,"email":"65224318+wuziqian211@users.noreply.github.com","author":"晨叶梦春","message":"style: wrap URLs with angle brackets"},{"hash":"35510b7a088cadead2a2e6455de262e6c4c9e657","time":1746207548000,"email":"65224318+wuziqian211@users.noreply.github.com","author":"晨叶梦春","message":"feat: add details &#x26; replace spaces"},{"hash":"d4f2dad7fd2b0252e4956af062826dacc02225b1","time":1744731994000,"email":"65224318+wuziqian211@users.noreply.github.com","author":"晨叶梦春","message":"update"},{"hash":"6c1f03e75334aaba6f3b6f3bf346b0326073b779","time":1740498696000,"email":"65224318+wuziqian211@users.noreply.github.com","author":"晨叶梦春","message":"update"},{"hash":"860fb3dc2aab83f56e4c702bbea9bad80346fb8c","time":1712675777000,"email":"65224318+wuziqian211@users.noreply.github.com","author":"wuziqian211","message":"Fix #994 (#997)"},{"hash":"f9ee5c3b99335af6bef0d9d902101c565b3bea00","time":1710068023000,"email":"65224318+wuziqian211@users.noreply.github.com","author":"wuziqian211","message":"feat: 更新包月充电、获取用户信息、用户关系相关说明 (#981)"},{"hash":"c4a137bde7c554067b24826aa6298749b23b9b53","time":1687154231000,"email":"z0z0r4@outlook.com","author":"z0z0r4","message":"Update charge_list.md (#711)"},{"hash":"d730a5bd5f792e8f297f07a0e64ed2b93d8a83db","time":1678379898000,"email":"65224318+wuziqian211@users.noreply.github.com","author":"wuziqian211","message":"Update charge_list.md"},{"hash":"4140374946a2969c9845086d61dbc4f536612a99","time":1677505003000,"email":"65224318+wuziqian211@users.noreply.github.com","author":"wuziqian211","message":"Update charge_list.md"},{"hash":"490d4c5e1f4559e9fae0feb46e18364317a6112e","time":1677480998000,"email":"65224318+wuziqian211@users.noreply.github.com","author":"wuziqian211","message":"新增包月充电功能相关API (#626)"},{"hash":"7a04a16d070d234d8a2909f9f57cd6174b0fbfdb","time":1677432610000,"email":"65224318+wuziqian211@users.noreply.github.com","author":"wuziqian211","message":"update"},{"hash":"551965aa0c1ae3bc0604b2ae61c07052b69c7ffd","time":1677408732000,"email":"65224318+wuziqian211@users.noreply.github.com","author":"wuziqian211","message":"Update charge_list.md"},{"hash":"f6760f4be38d5b592d396b211e48c666286524de","time":1677124138000,"email":"1440239038@qq.com","author":"SocialSisterYi","message":"🔨remove header index"},{"hash":"7d89ece2ac46425810647c4ac92acf5f3721cb68","time":1676998806000,"email":"1440239038@qq.com","author":"SocialSisterYi","message":"🚀调整项目结构"}]},"filePathRelative":"docs/electric/charge_list.md"}');export{b as comp,m as data};
