频道栏目优化
<h4>删除无子标签的父标签</h4>
<p><strong>简要描述:</strong></p>
<ul>
<li>删除没有子标签的父标签</li>
</ul>
<p><strong>请求URL:</strong></p>
<ul>
<li><code>/newtags/deleteParentTag</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>POST</li>
</ul>
<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;">id</td>
<td style="text-align: left;">integer</td>
<td>父标签id</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>{
"msg": "删除成功",
"data": [],
"code": 1,
"state": true
}</code></pre>
<hr />
<h4>移动一个子标签到另一个父标签</h4>
<p><strong>简要描述:</strong></p>
<ul>
<li>移动一个子标签到另一个父标签</li>
</ul>
<p><strong>请求URL:</strong></p>
<ul>
<li><code>/newtags/moveTag</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>POST</li>
</ul>
<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;">cid</td>
<td style="text-align: left;">integer</td>
<td>子标签id</td>
</tr>
<tr>
<td style="text-align: left;">pid</td>
<td style="text-align: left;">integer</td>
<td>父标签id</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>{
"msg": "标签移动成功",
"data": [],
"code": 1,
"state": true
}</code></pre>
<hr />
<h4>删除无栏目频道 (不做)</h4>
<p><strong>简要描述:</strong></p>
<ul>
<li>删除没有关联栏目的频道</li>
</ul>
<p><strong>请求URL:</strong></p>
<ul>
<li><code>/channel/new_delete</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>POST</li>
</ul>
<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;">id</td>
<td style="text-align: left;">integer</td>
<td>频道id</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>{
"msg": "删除成功",
"data": [],
"code": 1,
"state": true
}</code></pre>