5.11下载话术模板接口
<h5>下载任务导入模板接口(GET 传参)</h5>
<p>请求URL:
<code>{BaseUrl} /api/exportModel</code></p>
<table>
<thead>
<tr>
<th>参数名</th>
<th>类型</th>
<th>描述</th>
<th>属性</th>
</tr>
</thead>
<tbody>
<tr>
<td>project_sn</td>
<td>string</td>
<td>模板_sn</td>
<td>必填</td>
</tr>
<tr>
<td>type</td>
<td>string</td>
<td>返回类型</td>
<td>json/extend ,json 返回 json 数 据,extend 返回扩展字段说明,不填返回 excel 格式的二进制流 选填 加密前的</td>
</tr>
</tbody>
</table>
<h5>json 示例:</h5>
<pre><code class="language-json">{
&quot;api_key&quot;: &quot;UiLpe3uR&quot;,
&quot;user_sn&quot;: &quot;SYSUSER|b3397882e26ba9e7fb8f01f1af345bde&quot;,
&quot;project_sn&quot;: &quot;projects|4a92f90b5339646b36e9805600820deb&quot;,
&quot;type&quot;: &quot;json&quot;
}</code></pre>
<h5>Json 类型返回值</h5>
<pre><code class="language-json">{
&quot;code&quot;: 0,
&quot;data&quot;: [
[
&quot;姓名&quot;,
&quot;*电话&quot;,
&quot;地址&quot;,
&quot;公司名称&quot;,
&quot;备注&quot;
]
]
}</code></pre>
<h5>extend示例:</h5>
<p>直接拼接后浏览器访问,拼接正确则直接下载文件</p>
<pre><code class="language-html">https://xxxx.com/api/exportModel?user_sn=SYSUSER%7Cb3397882e26ba9e7fb8f01f1af345bde&amp;api_key=UiLpe3uR&amp;project_sn=projects|4a92f90b5339646b36e9805600820deb</code></pre>