背景音乐
<pre><code class="language-text">公共接口-背景音乐</code></pre>
<h4>接口URL</h4>
<p>> /api/v1/common/bg/music</p>
<h4>请求方式</h4>
<p>> GET</p>
<h4>请求Query参数</h4>
<table>
<thead>
<tr>
<th>参数名</th>
<th>示例值</th>
<th>参数类型</th>
<th>是否必填</th>
<th>参数描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>cv</td>
<td>1.1.0</td>
<td>String</td>
<td>是</td>
<td>-</td>
</tr>
<tr>
<td>cp</td>
<td>a</td>
<td>String</td>
<td>是</td>
<td>-</td>
</tr>
<tr>
<td>ci</td>
<td>999999</td>
<td>String</td>
<td>是</td>
<td>-</td>
</tr>
<tr>
<td>module</td>
<td>-</td>
<td>String</td>
<td>是</td>
<td>模块 ,avatar:数字人模块</td>
</tr>
<tr>
<td>cursor</td>
<td>-</td>
<td>String</td>
<td>否</td>
<td>-</td>
</tr>
</tbody>
</table>
<h4>返回参数说明</h4>
<table>
<thead>
<tr>
<th>参数名</th>
<th>示例值</th>
<th>参数类型</th>
<th>是否必填</th>
<th>参数描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>list</td>
<td>-</td>
<td>array</td>
<td>-</td>
<td>数据集</td>
</tr>
</tbody>
</table>
<h4>list 数据集</h4>
<table>
<thead>
<tr>
<th>参数名</th>
<th>示例值</th>
<th>参数类型</th>
<th>是否必填</th>
<th>参数描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>url</td>
<td>-</td>
<td>String</td>
<td>-</td>
<td>背景音乐地址</td>
</tr>
<tr>
<td>duration</td>
<td>-</td>
<td>int</td>
<td>-</td>
<td>时长</td>
</tr>
<tr>
<td>name</td>
<td>-</td>
<td>string</td>
<td>-</td>
<td>背景音乐名称</td>
</tr>
<tr>
<td>groupName</td>
<td>-</td>
<td>string</td>
<td>-</td>
<td>背景音乐分组名称</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code>{
&quot;list&quot;: [
{
&quot;name&quot;: &quot;&quot;,
&quot;groupName&quot;:&quot;&quot;,
&quot;url&quot;:&quot;&quot;,
&quot;duration&quot;: 0
}
],
&quot;cursor&quot;:&quot;&quot;
}</code></pre>
<h5>失败返回示例</h5>
<pre><code>{
&quot;code&quot;: 1001,
&quot;reason&quot;: &quot;请求参数错误&quot;,
&quot;extInfo&quot;: null
}</code></pre>