模板列表
<h5>简要描述</h5>
<ul>
<li>无</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>{{service}}/goods/admin-template</code> </li>
</ul>
<h5>请求方式</h5>
<ul>
<li>post</li>
</ul>
<h5>Header</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">字段名</th>
<th style="text-align: left;">示例值</th>
<th>必选</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">token</td>
<td style="text-align: left;">{{token}}</td>
<td>是</td>
<td>string</td>
<td>无</td>
</tr>
</tbody>
</table>
<h5>请求Body参数</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">示例值</th>
<th>必选</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">search</td>
<td style="text-align: left;">sku</td>
<td>否</td>
<td>string</td>
<td>模板名称</td>
</tr>
<tr>
<td style="text-align: left;">page</td>
<td style="text-align: left;">默认为第一页</td>
<td>否</td>
<td>string</td>
<td>默认为第一页</td>
</tr>
<tr>
<td style="text-align: left;">pageSize</td>
<td style="text-align: left;">默认显示10条数据</td>
<td>否</td>
<td>string</td>
<td>默认显示10条数据</td>
</tr>
</tbody>
</table>
<h5>成功返回示例</h5>
<pre><code>{
"code": 10000,
"data": {
"list": [
{
"id": 59,//模板主键id
"admin_id": 122,运营商id
"name": "模板一-测试",模板名称
"status": 1,值1启用,值0禁用
"create_time": "2025-05-07 03:00:16",创建时间
"update_time": 1746558016
},
{
"id": 57,
"admin_id": 2270,
"name": "1",
"status": 0,
"create_time": "2025-05-16 10:04:15",
"update_time": 1749555234
},
{
"id": 56,
"admin_id": 2965,
"name": "12345热线",
"status": 1,
"create_time": "2025-05-13 14:22:02",
"update_time": 1747117322
},
{
"id": 55,
"admin_id": 2273,
"name": "特斯拉南方",
"status": 1,
"create_time": "2025-05-12 16:38:46",
"update_time": 1747039126
},
{
"id": 54,
"admin_id": 2273,
"name": "模板1",
"status": 1,
"create_time": "2025-05-12 14:34:19",
"update_time": 1747031659
},
{
"id": 53,
"admin_id": 2273,
"name": "123",
"status": 1,
"create_time": "2025-05-12 14:23:45",
"update_time": 1747031025
},
{
"id": 52,
"admin_id": 1773,
"name": "工厂模版cs_副本_副本",
"status": 1,
"create_time": "2025-04-28 10:31:26",
"update_time": 1747012085
},
{
"id": 51,
"admin_id": 1773,
"name": "工厂模版cs_副本",
"status": 1,
"create_time": "2025-04-28 10:31:26",
"update_time": 1745809593
},
{
"id": 50,
"admin_id": 1773,
"name": "工厂模版cs",
"status": 1,
"create_time": "2025-04-28 10:31:26",
"update_time": 1745809580
},
{
"id": 49,
"admin_id": 1773,
"name": "工厂模版_副本1_副本_副本",
"status": 1,
"create_time": "2025-04-28 10:31:26",
"update_time": 1745809495
}
],
"total": 41
},
"msg": "Success"
}
</code></pre>