获取模板
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>获取模板</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>https://vring.dyhculture.com/forestage/template/gettemplate.html</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>POST </li>
</ul>
<h5>参数</h5>
<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;">purposeId</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>1</td>
</tr>
<tr>
<td style="text-align: left;">sizeId</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>1</td>
</tr>
<tr>
<td style="text-align: left;">hotId</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>行业id 12</td>
</tr>
<tr>
<td style="text-align: left;">timeId</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>1</td>
</tr>
<tr>
<td style="text-align: left;">searchCont</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>all</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code> {
"template": [
{
"TID": 359, 模板id
"isPost": "1",
"templateName": "天天录课03",
"templatePrice": "0.00", 模板原价
"templateDiscount": null, 模板折扣
"replacePictureNum": 0, 模板可替换图片数量
"replaceVidoNum": 0, 模板可编辑视频数量
"templateSizeID": 4,
"replaceTextNum": 2, 模板可编辑文字数量
"cover_path": "/images/templateCover/", 模板封面图片所在路径
"cover": "1567154224.png", 模板封面图片名称
"templateDuration": 7, 模板播放时长
"templateVidioLink": "/template/天天录课03/view/天天录课03.mp4", 模板视频链接
"isCollect": false
},
{
"TID": 360,
"isPost": "1",
"templateName": "微课视频",
"templatePrice": "0.00",
"templateDiscount": null,
"replacePictureNum": 0,
"replaceVidoNum": 0,
"templateSizeID": 4,
"replaceTextNum": 2,
"cover_path": "/images/templateCover/",
"cover": "1567154241.png",
"templateDuration": 7,
"templateVidioLink": "/template/微课视频/view/微课视频.mp4",
"isCollect": false
},
{
"TID": 362,
"isPost": "1",
"templateName": "校园电视台",
"templatePrice": "0.00",
"templateDiscount": null,
"replacePictureNum": 0,
"replaceVidoNum": 0,
"templateSizeID": 4,
"replaceTextNum": 2,
"cover_path": "/images/templateCover/",
"cover": "1567154540.png",
"templateDuration": 10,
"templateVidioLink": "/template/校园电视台/view/校园电视台.mp4",
"isCollect": false
},
{
"TID": 363,
"isPost": "1",
"templateName": "校园电视台02",
"templatePrice": "0.00",
"templateDiscount": null,
"replacePictureNum": 0,
"replaceVidoNum": 0,
"templateSizeID": 4,
"replaceTextNum": 2,
"cover_path": "/images/templateCover/",
"cover": "1567156230.png",
"templateDuration": 7,
"templateVidioLink": "/template/校园电视台02/view/校园电视台02.mp4",
"isCollect": false
},
{
"TID": 364,
"isPost": "1",
"templateName": "校园电视台03",
"templatePrice": "0.00",
"templateDiscount": null,
"replacePictureNum": 0,
"replaceVidoNum": 0,
"templateSizeID": 4,
"replaceTextNum": 2,
"cover_path": "/images/templateCover/",
"cover": "1567156400.png",
"templateDuration": 10,
"templateVidioLink": "/template/校园电视台03/view/校园电视台03.mp4",
"isCollect": false
}
],
"pageCounts": 5
}</code></pre>
<h5>返回参数说明</h5>
<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;">groupid</td>
<td style="text-align: left;">int</td>
<td>用户组id,1:超级管理员;2:普通用户</td>
</tr>
</tbody>
</table>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>