7.8获取话术模板接口(用于下拉选框)
<p><strong>简要描述:</strong> </p>
<ul>
<li>获取话术模板接口</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>/api/getProjects</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>POST </li>
</ul>
<p><strong>参数:</strong> </p>
<p><strong>返回示例</strong></p>
<pre><code> {
&quot;code&quot;:0,
&quot;msg&quot;:&quot;获取成功&quot;,
&quot;data&quot;:[
{
&quot;project_sn&quot;:&quot;project|9ac41f5a365acb357e9d0a8959d016b5&quot;,
&quot;project_name&quot;:&quot;艾塔科技&quot;,
&quot;project_caption&quot;:&quot;0421-女404-hsz&quot;,
&quot;question_sn&quot;:&quot;20210421172227ZSE&quot;
},
{
&quot;project_sn&quot;:&quot;projects|68ff602d1a6a68cfda14eb13a2f26a0e&quot;,
&quot;project_name&quot;:&quot;(模板)催收-固定v2.0-小樱20210924150131admin&quot;,
&quot;project_caption&quot;:&quot;0702-全t(小樱)-yj&quot;,
&quot;question_sn&quot;:&quot;20190422164012gZS&quot;
}
]
}
</code></pre>
<p><strong>返回参数说明</strong> </p>
<table>
<thead>
<tr>
<th style="text-align: left;">字段</th>
<th style="text-align: left;">说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">sn</td>
<td style="text-align: left;">项目模板唯一标识符;</td>
</tr>
<tr>
<td style="text-align: left;">project_name</td>
<td style="text-align: left;">项目模板名称;</td>
</tr>
<tr>
<td style="text-align: left;">project_caption</td>
<td style="text-align: left;">项目模板标题</td>
</tr>
<tr>
<td style="text-align: left;">question_sn</td>
<td style="text-align: left;">入口流程sn(用于模板测试接口)</td>
</tr>
</tbody>
</table>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>