批量模板启用接口
<p><strong>简要描述:</strong></p>
<ul>
<li>批量模板启用接口
@李文珂</li>
</ul>
<p><strong>请求URL:</strong></p>
<ul>
<li><code>http://xx.com/indicator/batchTemplate/enable</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>POST</li>
<li>请求携带token</li>
</ul>
<p><strong>参数:</strong></p>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">必选</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">id</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>批量模板id(请求时无需参数名,body放id值即可)</td>
</tr>
</tbody>
</table>
<p><strong>请求示例</strong></p>
<pre><code>1</code></pre>
<p><strong>返回示例</strong></p>
<pre><code>{
"msg": "success",
"code": 0
}</code></pre>
<p><strong>返回参数说明</strong></p>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">msg</td>
<td style="text-align: left;">string</td>
<td>提示信息</td>
</tr>
<tr>
<td style="text-align: left;">code</td>
<td style="text-align: left;">int</td>
<td>0:成功,500:异常</td>
</tr>
</tbody>
</table>
<p><strong>备注</strong></p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>