添加宣传图
<pre><code class="language-text">添加宣传图</code></pre>
<h4>接口状态</h4>
<blockquote>
<p>已完成</p>
</blockquote>
<h4>接口URL</h4>
<blockquote>
<p><a href="http://192.168.2.103:8000/admin/gw_sliders">http://192.168.2.103:8000/admin/gw_sliders</a></p>
</blockquote>
<h4>请求方式</h4>
<blockquote>
<p>POST</p>
</blockquote>
<h4>Content-Type</h4>
<blockquote>
<p>json</p>
</blockquote>
<h4>请求Body参数</h4>
<pre><code class="language-javascript">{
'type_id':1,
'name':'首页轮播图2333423',
'pc_image':'storage/4g5V4sL4sLeoPXWM485FWnUo4egLTO8tKcUvq1NI.png',
'pc_link_type':0,
'pc_link':'',
'mobile_image':'storage/4g5V4sL4sLeoPXWM485FWnUo4egLTO8tKcUvq1NI.png',
'mobile_link_type':0,
'mobile_link':'',
'sort':'99',
'sattus':1
}</code></pre>
<table>
<thead>
<tr>
<th>参数名</th>
<th>示例值</th>
<th>参数类型</th>
<th>参数描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>type_id</td>
<td>1</td>
<td>Text</td>
<td>轮播图类型id</td>
</tr>
<tr>
<td>name</td>
<td>首页轮播图2333423</td>
<td>Text</td>
<td>名称</td>
</tr>
<tr>
<td>pc_image</td>
<td>storage/4g5V4sL4sLeoPXWM485FWnUo4egLTO8tKcUvq1NI.png</td>
<td>Text</td>
<td>PC端图片地址</td>
</tr>
<tr>
<td>pc_link_type</td>
<td>0</td>
<td>Text</td>
<td>PC端链接类型</td>
</tr>
<tr>
<td>pc_link</td>
<td></td>
<td>Text</td>
<td>PC端链接地址</td>
</tr>
<tr>
<td>mobile_image</td>
<td>storage/4g5V4sL4sLeoPXWM485FWnUo4egLTO8tKcUvq1NI.png</td>
<td>Text</td>
<td>移动端图片地址</td>
</tr>
<tr>
<td>mobile_link_type</td>
<td>0</td>
<td>Text</td>
<td>移动端链接类型</td>
</tr>
<tr>
<td>mobile_link</td>
<td></td>
<td>Text</td>
<td>移动端端链接地址</td>
</tr>
<tr>
<td>sort</td>
<td>99</td>
<td>Text</td>
<td>排序</td>
</tr>
<tr>
<td>sattus</td>
<td>1</td>
<td>Text</td>
<td>状态1-正常,0-禁用</td>
</tr>
</tbody>
</table>
<h4>预执行脚本</h4>
<pre><code class="language-javascript">暂无预执行脚本</code></pre>
<h4>后执行脚本</h4>
<pre><code class="language-javascript">暂无后执行脚本</code></pre>
<h4>成功响应示例</h4>
<pre><code class="language-javascript">{
"resCode": 0,
"resMsg": "添加成功!",
"data": []
}</code></pre>