优翼云

优翼云


添加栏目

<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/rs_course/hearcats">http://192.168.2.103:8000/admin/rs_course/hearcats</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">{ 'category':'测试听力分类栏目', 'pid':0, 'status':1, 'sort':1, 'level':0, 'type':1 }</code></pre> <table> <thead> <tr> <th>参数名</th> <th>示例值</th> <th>参数类型</th> <th>参数描述</th> </tr> </thead> <tbody> <tr> <td>category</td> <td>测试听力分类栏目</td> <td>Text</td> <td>分类名称</td> </tr> <tr> <td>pid</td> <td>0</td> <td>Text</td> <td>父级ID</td> </tr> <tr> <td>status</td> <td>1</td> <td>Text</td> <td>状态1审核0未审核</td> </tr> <tr> <td>sort</td> <td>1</td> <td>Text</td> <td>排序</td> </tr> <tr> <td>level</td> <td>0</td> <td>Text</td> <td>层级</td> </tr> <tr> <td>type</td> <td>1</td> <td>Text</td> <td>1小学分类 2为初中 *一级分类必填</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>

页面列表

ITEM_HTML