import{_ as t,c as p,a,b as l,d as n,e,w as c,r,o as D}from"./app-CDdN0tOz.js";const d={};function i(u,s){const o=r("RouteLink");return D(),p("div",null,[s[5]||(s[5]=a(`<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>https://api.live.bilibili.com/xlive/web-room/v1/dM/GetDMConfigByGroup</p></blockquote><p><em>请求方式: GET</em></p><p>认证方式: Cookie (SESSDATA)</p><p>未登录也可以获取，但颜色只有白色可用，模式只有滚动。</p><p><strong>url参数：</strong></p><table><thead><tr><th>参数名</th><th>类型</th><th>内容</th><th>必要性</th><th>备注</th></tr></thead><tbody><tr><td>room_id</td><td>num</td><td>直播间id</td><td>必要</td><td></td></tr><tr><td>web_location</td><td>str</td><td>(?)</td><td>非必要</td><td>作用尚不明确</td></tr><tr><td>w_rid</td><td>str</td><td>wbi签名</td><td>非必要</td><td>不强制需要</td></tr><tr><td>wts</td><td>num</td><td>秒时间戳</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: 参数错误</td></tr><tr><td>data</td><td>obj</td><td>信息本体</td><td></td></tr><tr><td>message</td><td>str</td><td>错误信息</td><td></td></tr><tr><td>msg</td><td>str</td><td>信息</td><td>成功时存在，为<code>&quot;&quot;</code>(空字符串)</td></tr><tr><td>ttl</td><td>num</td><td><code>1</code></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>group</td><td>arr</td><td>弹幕颜色组</td><td></td></tr><tr><td>mode</td><td>arr</td><td>弹幕显示模式</td><td></td></tr></tbody></table><p><code>data.group</code> 数组中对象:</p><table><thead><tr><th>字段</th><th>类型</th><th>内容</th><th>备注</th></tr></thead><tbody><tr><td>name</td><td>str</td><td>显示名称</td><td></td></tr><tr><td>sort</td><td>num</td><td>用于排序</td><td></td></tr><tr><td>color</td><td>arr</td><td>该组颜色列表</td><td></td></tr></tbody></table><p><code>data.group[i].color</code> 数组中对象:</p><table><thead><tr><th>字段</th><th>类型</th><th>内容</th><th>备注</th></tr></thead><tbody><tr><td>name</td><td>str</td><td>颜色名</td><td></td></tr><tr><td>color</td><td>str</td><td>十进制颜色值</td><td>发送弹幕用</td></tr><tr><td>color_hex</td><td>str</td><td>十六进制颜色值</td><td>发送弹幕用</td></tr><tr><td>status</td><td>num</td><td>可用状态</td><td>0: 不可用<br>1: 可用</td></tr><tr><td>weight</td><td>num</td><td>(?)</td><td>作用尚不明确</td></tr><tr><td>color_id</td><td>num</td><td>颜色id?</td><td></td></tr><tr><td>origin</td><td>num</td><td>(?)</td><td></td></tr></tbody></table><p><code>data.mode</code> 数组中对象:</p><table><thead><tr><th>字段</th><th>类型</th><th>内容</th><th>备注</th></tr></thead><tbody><tr><td>name</td><td>str</td><td>模式名称</td><td></td></tr><tr><td>mode</td><td>num</td><td>模式值</td><td>发送弹幕用</td></tr><tr><td>type</td><td>str</td><td>模式类型</td><td></td></tr><tr><td>status</td><td>num</td><td>可用状态</td><td>0: 不可用<br>1: 可用</td></tr></tbody></table><p><strong>示例：</strong></p><p>获取未登录用户在直播间 <code>1</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:#CE9178;"> &#39;https://api.live.bilibili.com/xlive/web-room/v1/dM/GetDMConfigByGroup?room_id=1&#39;</span></span></code></pre><div class="line-numbers" aria-hidden="true" style="counter-reset:line-number 0;"><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;data&quot;</span><span style="color:#D4D4D4;">: {</span></span>
<span class="line"><span style="color:#9CDCFE;">    &quot;group&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;name&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;sort&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;color&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;name&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;color&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;16777215&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">            &quot;color_hex&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;ffffff&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">            &quot;status&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;weight&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">-9999</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">            &quot;color_id&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">-9999</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">            &quot;origin&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>
<span class="line"><span style="color:#9CDCFE;">        &quot;name&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;sort&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">100</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">        &quot;color&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;name&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;color&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;14893055&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">            &quot;color_hex&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;e33fff&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">            &quot;status&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;weight&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;color_id&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">6</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">            &quot;origin&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">1</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>
<span class="line"><span style="color:#9CDCFE;">        &quot;name&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;sort&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">200</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">        &quot;color&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;name&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;color&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;5566168&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">            &quot;color_hex&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;54eed8&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">            &quot;status&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;weight&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">99</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">            &quot;color_id&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">66</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">            &quot;origin&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">2</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;name&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;color&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;5816798&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">            &quot;color_hex&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;58c1de&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">            &quot;status&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;weight&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">98</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">            &quot;color_id&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">67</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">            &quot;origin&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">2</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;name&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;color&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;4546550&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">            &quot;color_hex&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;455ff6&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">            &quot;status&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;weight&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">97</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">            &quot;color_id&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">68</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">            &quot;origin&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">2</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;name&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;color&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;9920249&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">            &quot;color_hex&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;975ef9&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">            &quot;status&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;weight&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">96</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">            &quot;color_id&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">69</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">            &quot;origin&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">2</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;name&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;color&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;12802438&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">            &quot;color_hex&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;c35986&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">            &quot;status&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;weight&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">95</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">            &quot;color_id&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">70</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">            &quot;origin&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">2</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;name&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;color&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;16747553&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">            &quot;color_hex&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;ff8c21&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">            &quot;status&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;weight&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">94</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">            &quot;color_id&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">71</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">            &quot;origin&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">2</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;name&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;color&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;16774434&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">            &quot;color_hex&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;fff522&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">            &quot;status&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;weight&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">93</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">            &quot;color_id&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">72</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">            &quot;origin&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">2</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>
<span class="line"><span style="color:#9CDCFE;">        &quot;name&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;sort&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">300</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">        &quot;color&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;name&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;color&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;16738408&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">            &quot;color_hex&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;ff6868&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">            &quot;status&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;weight&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;color_id&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">8</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">            &quot;origin&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">3</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;name&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;color&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;6737151&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">            &quot;color_hex&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;66ccff&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">            &quot;status&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;weight&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;color_id&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">7</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">            &quot;origin&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">3</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>
<span class="line"><span style="color:#9CDCFE;">        &quot;name&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;sort&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">400</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">        &quot;color&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;name&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;color&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;16766720&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">            &quot;color_hex&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;ffd700&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">            &quot;status&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;weight&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">100</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">            &quot;color_id&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">44</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">            &quot;origin&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">4</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;name&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;color&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;4286945&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">            &quot;color_hex&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;4169e1&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">            &quot;status&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;weight&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">100</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">            &quot;color_id&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">43</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">            &quot;origin&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">4</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;name&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;color&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;65532&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">            &quot;color_hex&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;fffc&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">            &quot;status&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;weight&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;color_id&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">5</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">            &quot;origin&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">4</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;name&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;color&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;8322816&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">            &quot;color_hex&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;7eff00&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">            &quot;status&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;weight&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;color_id&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">4</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">            &quot;origin&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">4</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;name&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;color&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;16772431&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">            &quot;color_hex&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;ffed4f&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">            &quot;status&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;weight&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;color_id&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">3</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">            &quot;origin&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">4</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;name&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;color&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;16750592&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">            &quot;color_hex&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;ff9800&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">            &quot;status&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;weight&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;color_id&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;origin&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">4</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;name&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;color&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;16741274&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">            &quot;color_hex&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;ff739a&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">            &quot;status&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;weight&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;color_id&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;origin&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">4</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>
<span class="line"><span style="color:#9CDCFE;">    &quot;mode&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;name&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;mode&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;type&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;scroll&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">        &quot;status&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">1</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;name&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;mode&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">4</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">        &quot;type&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;bottom&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">        &quot;status&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;name&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;mode&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#B5CEA8;">5</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">        &quot;type&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;top&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">        &quot;status&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:#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&quot;</span><span style="color:#D4D4D4;">: </span><span style="color:#CE9178;">&quot;&quot;</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 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 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 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 class="line-number"></div></div></div></details><h2 id="设置弹幕样式" tabindex="-1"><a class="header-anchor" href="#设置弹幕样式"><span>设置弹幕样式</span></a></h2><blockquote><p>https://api.live.bilibili.com/xlive/web-room/v1/dM/AjaxSetConfig</p></blockquote><p><em>请求方式: POST</em></p><p>认证方式: Cookie (SESSDATA)</p><p>鉴权方式: Cookie中<code>bili_jct</code>的值正确并与<code>csrf</code>相同</p><p><strong>正文参数 (application/x-www-form-urlencoded)：</strong></p><table><thead><tr><th>参数名</th><th>类型</th><th>内容</th><th>必要性</th><th>备注</th></tr></thead><tbody><tr><td>csrf</td><td>str</td><td>CSRF Token（位于cookie）</td><td>必要</td><td></td></tr><tr><td>csrf_token</td><td>str</td><td>同csrf</td><td>非必要</td><td></td></tr><tr><td>room_id</td><td>num</td><td>直播间id</td><td>必要</td><td></td></tr><tr><td>color</td><td>str</td><td>颜色值</td><td>必要（可选）</td><td>color和mode任选一个</td></tr><tr><td>mode</td><td>num</td><td>弹幕模式</td><td>必要（可选）</td><td>color和mode任选一个</td></tr></tbody></table><p>注1: 抓取到的color格式是<code>&quot;0x&quot;+六位十六进制小写颜色值</code>，实际不需要<code>0x</code>，且不区分大小写。</p><p>注2: 若color和mode同时存在将只处理color，mode将被忽略。（见<a href="https://github.com/SocialSisterYi/bilibili-API-collect/issues/1236#issuecomment-2849019923" target="_blank" rel="noopener noreferrer">#1236(comment)</a>）</p><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>-101: 账号未登录<br>-500: 未达到使用条件<br>10064002: 参数错误<br>10065107: 颜色不存在</td></tr><tr><td>message</td><td>str</td><td>错误信息</td><td></td></tr><tr><td>ttl</td><td>num</td><td><code>1</code></td><td></td></tr><tr><td>data</td><td>obj</td><td>信息本体</td><td>部分情况不存在，10064002时为<code>null</code></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>status</td><td>num</td><td>同code</td><td></td></tr><tr><td>msg</td><td>str</td><td>提示信息</td><td>成功时有内容</td></tr><tr><td>roomid</td><td>num</td><td>直播间id</td><td></td></tr></tbody></table><p><strong>示例：</strong></p><p>更改直播间 <code>1017</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:#CE9178;"> &#39;https://api.live.bilibili.com/xlive/web-room/v1/dM/AjaxSetConfig&#39;</span><span style="color:#D7BA7D;"> \\</span></span>
<span class="line"><span style="color:#569CD6;">  --data-urlencode</span><span style="color:#CE9178;"> &#39;room_id=1017&#39;</span><span style="color:#D7BA7D;"> \\</span></span>
<span class="line"><span style="color:#569CD6;">  --data-urlencode</span><span style="color:#CE9178;"> &#39;color=0xffffff&#39;</span><span style="color:#D7BA7D;"> \\</span></span>
<span class="line"><span style="color:#569CD6;">  --data-urlencode</span><span style="color:#CE9178;"> &#39;csrf=xxx&#39;</span><span style="color:#D7BA7D;"> \\</span></span>
<span class="line"><span style="color:#569CD6;">  -b</span><span style="color:#CE9178;"> &#39;SESSDATA=xxx;bili_jct=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;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;status&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;设置成功~&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">    &quot;roomid&quot;</span><span style="color:#D4D4D4;">:</span><span style="color:#B5CEA8;">1017</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></div></details><h2 id="发送直播弹幕" tabindex="-1"><a class="header-anchor" href="#发送直播弹幕"><span>发送直播弹幕</span></a></h2><blockquote><p>https://api.live.bilibili.com/msg/send</p></blockquote><p><em>请求方式: POST</em></p><p>认证方式: Cookie (SESSDATA)</p><p>鉴权方式: Cookie中<code>bili_jct</code>的值正确并与<code>csrf</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>w_rid</td><td>str</td><td>wbi签名</td><td>非必要</td><td>不强制需要</td></tr><tr><td>wts</td><td>num</td><td>Unix 秒时间戳</td><td>非必要</td><td>不强制需要</td></tr></tbody></table><p><strong>正文参数 (<code>application/x-www-form-urlencoded</code>或<code>multipart/form-data</code>)：</strong></p><table><thead><tr><th>参数名</th><th>类型</th><th>内容</th><th>必要性</th><th>备注</th></tr></thead><tbody><tr><td>csrf</td><td>str</td><td>CSRF Token（位于cookie）</td><td>必要</td><td></td></tr><tr><td>roomid</td><td>num</td><td>直播间id</td><td>必要</td><td></td></tr><tr><td>msg</td><td>str</td><td>弹幕内容</td><td>必要</td><td></td></tr><tr><td>rnd</td><td>num</td><td>当前 Unix 秒时间戳</td><td>必要</td><td></td></tr><tr><td>fontsize</td><td>num</td><td>字体大小</td><td>必要</td><td>默认为<code>25</code></td></tr><tr><td>color</td><td>num</td><td>十进制颜色值</td><td>必要</td><td>实际无效果</td></tr><tr><td>mode</td><td>num</td><td>展示模式</td><td>非必要</td><td>默认为<code>1</code></td></tr><tr><td>bubble</td><td>num</td><td>(?)</td><td>非必要</td><td>值为<code>0</code></td></tr><tr><td>room_type</td><td>num</td><td>(?)</td><td>非必要</td><td><code>0</code></td></tr><tr><td>jumpfrom</td><td>num</td><td>(?)</td><td>非必要</td><td><code>0</code></td></tr><tr><td>reply_mid</td><td>num</td><td>要“@”的用户mid</td><td>非必要</td><td>默认为<code>0</code></td></tr><tr><td>reply_attr</td><td>num</td><td>(?)</td><td>非必要</td><td><code>0</code></td></tr><tr><td>reply_uname</td><td>str</td><td>要“@”的用户名称</td><td>非必要</td><td>默认为<code>&quot;&quot;</code>，提供reply_mid时不需要提供</td></tr><tr><td>replay_dmid</td><td>str</td><td>要回复的弹幕id</td><td>非必要</td><td>默认为<code>&quot;&quot;</code></td></tr><tr><td>statistics</td><td>str</td><td>(?)</td><td>非必要</td><td><code>{&quot;appId&quot;:100,&quot;platform&quot;:5}</code></td></tr><tr><td>csrf_token</td><td>str</td><td>同csrf</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><code>-101</code>:账号未登录<br><code>-111</code>:csrf 校验失败<br><code>-400</code>:请求错误，带有必须参数的信息<br><code>1003212</code>:超出限制长度<br><code>10031</code>:发送频率过快</td></tr><tr><td>message</td><td>str</td><td>错误信息</td><td></td></tr><tr><td>msg</td><td>str</td><td>同<code>message</code></td><td></td></tr><tr><td>data</td><td>obj</td><td>信息本体</td><td></td></tr><tr><td>ttl</td><td>num</td><td><code>1</code></td><td>在小于0的code中存在</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>mode_info</td><td>obj</td><td>弹幕信息</td><td></td></tr><tr><td>dm_v2</td><td>null</td><td>v2弹幕</td><td></td></tr></tbody></table><p><code>data.mode_info</code> 对象:</p>`,56)),l("p",null,[s[1]||(s[1]=n("基本上与")),e(o,{to:"/docs/live/message_stream.html#%E5%BC%B9%E5%B9%95-danmu_msg"},{default:c(()=>s[0]||(s[0]=[n("直播间信息流#弹幕 (DANMU_MSG)")])),_:1,__:[0]}),s[2]||(s[2]=n("的")),s[3]||(s[3]=l("code",null,"info[0][15]",-1)),s[4]||(s[4]=n("对象相同。"))]),s[6]||(s[6]=a(`<p><strong>示例：</strong></p><p>给直播间 <code>1899237171</code> 发送内容为 <code>QwQ</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:#CE9178;"> &#39;https://api.live.bilibili.com/msg/send&#39;</span><span style="color:#D7BA7D;"> \\</span></span>
<span class="line"><span style="color:#569CD6;">  --data-urlencode</span><span style="color:#CE9178;"> &#39;roomid=1899237171&#39;</span><span style="color:#D7BA7D;"> \\</span></span>
<span class="line"><span style="color:#569CD6;">  --data-urlencode</span><span style="color:#CE9178;"> &#39;msg=QwQ&#39;</span><span style="color:#D7BA7D;"> \\</span></span>
<span class="line"><span style="color:#569CD6;">  --data-urlencode</span><span style="color:#CE9178;"> &#39;rnd=1744956003&#39;</span><span style="color:#D7BA7D;"> \\</span></span>
<span class="line"><span style="color:#569CD6;">  --data-urlencode</span><span style="color:#CE9178;"> &#39;fontsize=25&#39;</span></span>
<span class="line"><span style="color:#DCDCAA;">  --data-urlencode</span><span style="color:#CE9178;"> &#39;color=16777215&#39;</span></span>
<span class="line"><span style="color:#DCDCAA;">  --data-urlencode</span><span style="color:#CE9178;"> &#39;csrf=xxx&#39;</span><span style="color:#D7BA7D;"> \\</span></span>
<span class="line"><span style="color:#569CD6;">  -b</span><span style="color:#CE9178;"> &#39;SESSDATA=xxx;bili_jct=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 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;data&quot;</span><span style="color:#D4D4D4;">:{</span></span>
<span class="line"><span style="color:#9CDCFE;">    &quot;mode_info&quot;</span><span style="color:#D4D4D4;">:{</span></span>
<span class="line"><span style="color:#9CDCFE;">      &quot;mode&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;show_player_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;extra&quot;</span><span style="color:#D4D4D4;">:</span><span style="color:#CE9178;">&quot;{</span><span style="color:#D7BA7D;">\\&quot;</span><span style="color:#CE9178;">send_from_me</span><span style="color:#D7BA7D;">\\&quot;</span><span style="color:#CE9178;">:true,</span><span style="color:#D7BA7D;">\\&quot;</span><span style="color:#CE9178;">master_player_hidden</span><span style="color:#D7BA7D;">\\&quot;</span><span style="color:#CE9178;">:false,</span><span style="color:#D7BA7D;">\\&quot;</span><span style="color:#CE9178;">mode</span><span style="color:#D7BA7D;">\\&quot;</span><span style="color:#CE9178;">:0,</span><span style="color:#D7BA7D;">\\&quot;</span><span style="color:#CE9178;">color</span><span style="color:#D7BA7D;">\\&quot;</span><span style="color:#CE9178;">:16777215,</span><span style="color:#D7BA7D;">\\&quot;</span><span style="color:#CE9178;">dm_type</span><span style="color:#D7BA7D;">\\&quot;</span><span style="color:#CE9178;">:0,</span><span style="color:#D7BA7D;">\\&quot;</span><span style="color:#CE9178;">font_size</span><span style="color:#D7BA7D;">\\&quot;</span><span style="color:#CE9178;">:25,</span><span style="color:#D7BA7D;">\\&quot;</span><span style="color:#CE9178;">player_mode</span><span style="color:#D7BA7D;">\\&quot;</span><span style="color:#CE9178;">:1,</span><span style="color:#D7BA7D;">\\&quot;</span><span style="color:#CE9178;">show_player_type</span><span style="color:#D7BA7D;">\\&quot;</span><span style="color:#CE9178;">:0,</span><span style="color:#D7BA7D;">\\&quot;</span><span style="color:#CE9178;">content</span><span style="color:#D7BA7D;">\\&quot;</span><span style="color:#CE9178;">:</span><span style="color:#D7BA7D;">\\&quot;</span><span style="color:#CE9178;">QwQ</span><span style="color:#D7BA7D;">\\&quot;</span><span style="color:#CE9178;">,</span><span style="color:#D7BA7D;">\\&quot;</span><span style="color:#CE9178;">user_hash</span><span style="color:#D7BA7D;">\\&quot;</span><span style="color:#CE9178;">:</span><span style="color:#D7BA7D;">\\&quot;</span><span style="color:#CE9178;">2402762465</span><span style="color:#D7BA7D;">\\&quot;</span><span style="color:#CE9178;">,</span><span style="color:#D7BA7D;">\\&quot;</span><span style="color:#CE9178;">emoticon_unique</span><span style="color:#D7BA7D;">\\&quot;</span><span style="color:#CE9178;">:</span><span style="color:#D7BA7D;">\\&quot;\\&quot;</span><span style="color:#CE9178;">,</span><span style="color:#D7BA7D;">\\&quot;</span><span style="color:#CE9178;">bulge_display</span><span style="color:#D7BA7D;">\\&quot;</span><span style="color:#CE9178;">:0,</span><span style="color:#D7BA7D;">\\&quot;</span><span style="color:#CE9178;">recommend_score</span><span style="color:#D7BA7D;">\\&quot;</span><span style="color:#CE9178;">:7,</span><span style="color:#D7BA7D;">\\&quot;</span><span style="color:#CE9178;">main_state_dm_color</span><span style="color:#D7BA7D;">\\&quot;</span><span style="color:#CE9178;">:</span><span style="color:#D7BA7D;">\\&quot;\\&quot;</span><span style="color:#CE9178;">,</span><span style="color:#D7BA7D;">\\&quot;</span><span style="color:#CE9178;">objective_state_dm_color</span><span style="color:#D7BA7D;">\\&quot;</span><span style="color:#CE9178;">:</span><span style="color:#D7BA7D;">\\&quot;\\&quot;</span><span style="color:#CE9178;">,</span><span style="color:#D7BA7D;">\\&quot;</span><span style="color:#CE9178;">direction</span><span style="color:#D7BA7D;">\\&quot;</span><span style="color:#CE9178;">:0,</span><span style="color:#D7BA7D;">\\&quot;</span><span style="color:#CE9178;">pk_direction</span><span style="color:#D7BA7D;">\\&quot;</span><span style="color:#CE9178;">:0,</span><span style="color:#D7BA7D;">\\&quot;</span><span style="color:#CE9178;">quartet_direction</span><span style="color:#D7BA7D;">\\&quot;</span><span style="color:#CE9178;">:0,</span><span style="color:#D7BA7D;">\\&quot;</span><span style="color:#CE9178;">anniversary_crowd</span><span style="color:#D7BA7D;">\\&quot;</span><span style="color:#CE9178;">:0,</span><span style="color:#D7BA7D;">\\&quot;</span><span style="color:#CE9178;">yeah_space_type</span><span style="color:#D7BA7D;">\\&quot;</span><span style="color:#CE9178;">:</span><span style="color:#D7BA7D;">\\&quot;\\&quot;</span><span style="color:#CE9178;">,</span><span style="color:#D7BA7D;">\\&quot;</span><span style="color:#CE9178;">yeah_space_url</span><span style="color:#D7BA7D;">\\&quot;</span><span style="color:#CE9178;">:</span><span style="color:#D7BA7D;">\\&quot;\\&quot;</span><span style="color:#CE9178;">,</span><span style="color:#D7BA7D;">\\&quot;</span><span style="color:#CE9178;">jump_to_url</span><span style="color:#D7BA7D;">\\&quot;</span><span style="color:#CE9178;">:</span><span style="color:#D7BA7D;">\\&quot;\\&quot;</span><span style="color:#CE9178;">,</span><span style="color:#D7BA7D;">\\&quot;</span><span style="color:#CE9178;">space_type</span><span style="color:#D7BA7D;">\\&quot;</span><span style="color:#CE9178;">:</span><span style="color:#D7BA7D;">\\&quot;\\&quot;</span><span style="color:#CE9178;">,</span><span style="color:#D7BA7D;">\\&quot;</span><span style="color:#CE9178;">space_url</span><span style="color:#D7BA7D;">\\&quot;</span><span style="color:#CE9178;">:</span><span style="color:#D7BA7D;">\\&quot;\\&quot;</span><span style="color:#CE9178;">,</span><span style="color:#D7BA7D;">\\&quot;</span><span style="color:#CE9178;">animation</span><span style="color:#D7BA7D;">\\&quot;</span><span style="color:#CE9178;">:{},</span><span style="color:#D7BA7D;">\\&quot;</span><span style="color:#CE9178;">emots</span><span style="color:#D7BA7D;">\\&quot;</span><span style="color:#CE9178;">:null,</span><span style="color:#D7BA7D;">\\&quot;</span><span style="color:#CE9178;">is_audited</span><span style="color:#D7BA7D;">\\&quot;</span><span style="color:#CE9178;">:false,</span><span style="color:#D7BA7D;">\\&quot;</span><span style="color:#CE9178;">id_str</span><span style="color:#D7BA7D;">\\&quot;</span><span style="color:#CE9178;">:</span><span style="color:#D7BA7D;">\\&quot;</span><span style="color:#CE9178;">4e3ed8ede9409b234b5e1d64c06801ea3119</span><span style="color:#D7BA7D;">\\&quot;</span><span style="color:#CE9178;">,</span><span style="color:#D7BA7D;">\\&quot;</span><span style="color:#CE9178;">icon</span><span style="color:#D7BA7D;">\\&quot;</span><span style="color:#CE9178;">:null,</span><span style="color:#D7BA7D;">\\&quot;</span><span style="color:#CE9178;">show_reply</span><span style="color:#D7BA7D;">\\&quot;</span><span style="color:#CE9178;">:true,</span><span style="color:#D7BA7D;">\\&quot;</span><span style="color:#CE9178;">reply_mid</span><span style="color:#D7BA7D;">\\&quot;</span><span style="color:#CE9178;">:0,</span><span style="color:#D7BA7D;">\\&quot;</span><span style="color:#CE9178;">reply_uname</span><span style="color:#D7BA7D;">\\&quot;</span><span style="color:#CE9178;">:</span><span style="color:#D7BA7D;">\\&quot;\\&quot;</span><span style="color:#CE9178;">,</span><span style="color:#D7BA7D;">\\&quot;</span><span style="color:#CE9178;">reply_uname_color</span><span style="color:#D7BA7D;">\\&quot;</span><span style="color:#CE9178;">:</span><span style="color:#D7BA7D;">\\&quot;\\&quot;</span><span style="color:#CE9178;">,</span><span style="color:#D7BA7D;">\\&quot;</span><span style="color:#CE9178;">reply_is_mystery</span><span style="color:#D7BA7D;">\\&quot;</span><span style="color:#CE9178;">:false,</span><span style="color:#D7BA7D;">\\&quot;</span><span style="color:#CE9178;">reply_type_enum</span><span style="color:#D7BA7D;">\\&quot;</span><span style="color:#CE9178;">:0,</span><span style="color:#D7BA7D;">\\&quot;</span><span style="color:#CE9178;">hit_combo</span><span style="color:#D7BA7D;">\\&quot;</span><span style="color:#CE9178;">:0,</span><span style="color:#D7BA7D;">\\&quot;</span><span style="color:#CE9178;">esports_jump_url</span><span style="color:#D7BA7D;">\\&quot;</span><span style="color:#CE9178;">:</span><span style="color:#D7BA7D;">\\&quot;\\&quot;</span><span style="color:#CE9178;">}&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">      &quot;user&quot;</span><span style="color:#D4D4D4;">:{</span></span>
<span class="line"><span style="color:#9CDCFE;">        &quot;uid&quot;</span><span style="color:#D4D4D4;">:</span><span style="color:#B5CEA8;">438160221</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">        &quot;base&quot;</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;weatfe&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">          &quot;face&quot;</span><span style="color:#D4D4D4;">:</span><span style="color:#CE9178;">&quot;https://i0.hdslb.com/bfs/face/member/noface.jpg&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">          &quot;name_color&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;is_mystery&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;risk_ctrl_info&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;origin_info&quot;</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;weatfe&quot;</span><span style="color:#D4D4D4;">,</span></span>
<span class="line"><span style="color:#9CDCFE;">            &quot;face&quot;</span><span style="color:#D4D4D4;">:</span><span style="color:#CE9178;">&quot;https://i0.hdslb.com/bfs/face/member/noface.jpg&quot;</span></span>
<span class="line"><span style="color:#D4D4D4;">          },</span></span>
<span class="line"><span style="color:#9CDCFE;">          &quot;official_info&quot;</span><span style="color:#D4D4D4;">:{</span></span>
<span class="line"><span style="color:#9CDCFE;">            &quot;role&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;desc&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;type&quot;</span><span style="color:#D4D4D4;">:</span><span style="color:#B5CEA8;">-1</span></span>
<span class="line"><span style="color:#D4D4D4;">          },</span></span>
<span class="line"><span style="color:#9CDCFE;">          &quot;name_color_str&quot;</span><span style="color:#D4D4D4;">:</span><span style="color:#CE9178;">&quot;&quot;</span></span>
<span class="line"><span style="color:#D4D4D4;">        },</span></span>
<span class="line"><span style="color:#9CDCFE;">        &quot;medal&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;wealth&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;title&quot;</span><span style="color:#D4D4D4;">:{</span></span>
<span class="line"><span style="color:#9CDCFE;">          &quot;old_title_css_id&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;title_css_id&quot;</span><span style="color:#D4D4D4;">:</span><span style="color:#CE9178;">&quot;&quot;</span></span>
<span class="line"><span style="color:#D4D4D4;">        },</span></span>
<span class="line"><span style="color:#9CDCFE;">        &quot;guard&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;uhead_frame&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;guard_leader&quot;</span><span style="color:#D4D4D4;">:{</span></span>
<span class="line"><span style="color:#9CDCFE;">          &quot;is_guard_leader&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:#D4D4D4;">    },</span></span>
<span class="line"><span style="color:#9CDCFE;">    &quot;dm_v2&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:#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&quot;</span><span style="color:#D4D4D4;">:</span><span style="color:#CE9178;">&quot;&quot;</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></div></details>`,4))])}const C=t(d,[["render",i]]),q=JSON.parse('{"path":"/docs/live/danmaku.html","title":"直播间弹幕","lang":"zh-CN","frontmatter":{},"git":{"updatedTime":1750931158000,"contributors":[{"name":"pskdje","username":"pskdje","email":"77605497+pskdje@users.noreply.github.com","commits":3,"url":"https://github.com/pskdje"},{"name":"Pesy Wu","username":"","email":"GamerNoTitle@outlook.com","commits":1}],"changelog":[{"hash":"438425a282b8989b40b3037f2dda06de3a355ea1","time":1750931158000,"email":"77605497+pskdje@users.noreply.github.com","author":"pskdje","message":"更新直播间管理，添加直播回放，更新直播信息流 (#1298)","coAuthors":[{"name":"Pesy Wu","email":"GamerNoTitle@outlook.com"}]},{"hash":"126f78eac397bd2e5185a965a8c759d964bcd6ac","time":1746351385000,"email":"77605497+pskdje@users.noreply.github.com","author":"pskdje","message":"调整L439的表述，修正L75的curl参数"},{"hash":"0d6d975f4967364c4863944cf1f286e695c99f52","time":1746348215000,"email":"77605497+pskdje@users.noreply.github.com","author":"pskdje","message":"创建直播弹幕接口"}]},"filePathRelative":"docs/live/danmaku.md"}');export{C as comp,q as data};
