51带货助手

51带货助手


音频/视频时长大小限制

<pre><code class="language-text">公共接口-音频/视频时长大小限制</code></pre> <h4>接口URL</h4> <p>&gt; /api/v1/common/limit/config</p> <h4>请求方式</h4> <p>&gt; 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> </tbody> </table> <h4>返回参数说明</h4> <table> <thead> <tr> <th>参数名</th> <th>示例值</th> <th>参数类型</th> <th>是否必填</th> <th>参数描述</th> </tr> </thead> <tbody> <tr> <td>videoDuration</td> <td>-</td> <td>int</td> <td>-</td> <td>视频时长限制</td> </tr> <tr> <td>videoSize</td> <td>-</td> <td>int</td> <td>-</td> <td>视频大小限制</td> </tr> <tr> <td>limitVideoCount</td> <td>-</td> <td>int</td> <td>-</td> <td>视频上传数量限制</td> </tr> <tr> <td>audioDuration</td> <td>-</td> <td>int</td> <td>-</td> <td>音频时长限制</td> </tr> <tr> <td>audioSize</td> <td>-</td> <td>int</td> <td>-</td> <td>音频大小限制</td> </tr> <tr> <td>limitAudioCount</td> <td>-</td> <td>int</td> <td>-</td> <td>音频上传数量限制</td> </tr> <tr> <td>limitWordsMinCount</td> <td>-</td> <td>int</td> <td>-</td> <td>字数最小限制</td> </tr> <tr> <td>limitWordsMaxCount</td> <td>-</td> <td>int</td> <td>-</td> <td>字数最大限制</td> </tr> <tr> <td>commerce</td> <td>-</td> <td>object</td> <td>-</td> <td>带货限制</td> </tr> </tbody> </table> <h4>commerce参数说明</h4> <table> <thead> <tr> <th>参数名</th> <th>示例值</th> <th>参数类型</th> <th>是否必填</th> <th>参数描述</th> </tr> </thead> <tbody> <tr> <td>videoDuration</td> <td>-</td> <td>int</td> <td>-</td> <td>视频时长限制</td> </tr> <tr> <td>videoSize</td> <td>-</td> <td>int</td> <td>-</td> <td>视频大小限制</td> </tr> <tr> <td>limitVideoCount</td> <td>-</td> <td>int</td> <td>-</td> <td>视频上传数量限制</td> </tr> </tbody> </table> <h5>返回示例</h5> <pre><code>{ videoDuration: 180, videoSize: 314572800, limitVideoCount: 1, audioDuration: 180, audioSize: 314572800, limitAudioCount: 1, limitWordsMinCount: 1, limitWordsMaxCount: 600, commerce: { videoDuration: 180, videoSize: 314572800, limitVideoCount: 1, } }</code></pre> <h5>失败返回示例</h5> <pre><code>{ &amp;quot;code&amp;quot;: 1001, &amp;quot;reason&amp;quot;: &amp;quot;请求参数错误&amp;quot;, &amp;quot;extInfo&amp;quot;: null }</code></pre>

页面列表

ITEM_HTML