修改资源
<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/hears/{id">http://192.168.2.103:8000/admin/rs_course/hears/{id</a>}</p>
</blockquote>
<h4>请求方式</h4>
<blockquote>
<p>PUT</p>
</blockquote>
<h4>Content-Type</h4>
<blockquote>
<p>json</p>
</blockquote>
<h4>请求Body参数</h4>
<pre><code class="language-javascript">{
'name':'测试21春学练优三英下(PEP)-听力录音',
'category_id':'1,8,11',
'url1':'https://mp.zhizhuma.com/webappv2/zipDownloadUpgrade/index.htm?resId=34522377&entityId=151912&entityType=14&crId=26918441',
'url2':'优翼/web/21c/08xy/21春学练优三英下(PEP)-听力录音.zip',
'status': 1,
'sort': 1
}</code></pre>
<table>
<thead>
<tr>
<th>参数名</th>
<th>示例值</th>
<th>参数类型</th>
<th>参数描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>name</td>
<td>测试21春学练优三英下(PEP)-听力录音</td>
<td>Text</td>
<td>资源名称</td>
</tr>
<tr>
<td>category_id</td>
<td>1,8,11</td>
<td>Text</td>
<td>栏目分类ID</td>
</tr>
<tr>
<td>url1</td>
<td><a href="https://mp.zhizhuma.com/webappv2/zipDownloadUpgrade/index.htm?resId=34522377&entityId=151912&entityType=14&crId=26918441">https://mp.zhizhuma.com/webappv2/zipDownloadUpgrade/index.htm?resId=34522377&entityId=151912&entityType=14&crId=26918441</a></td>
<td>Text</td>
<td>资源地址1</td>
</tr>
<tr>
<td>url2</td>
<td>优翼/web/21c/08xy/21春学练优三英下(PEP)-听力录音.zip</td>
<td>Text</td>
<td>资源地址2</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>
</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>