点开工具、字典、anything


音乐素材新增

<p><strong>简要描述:</strong> </p> <ul> <li>后台新增音乐素材记录,仅保存音乐信息,源文件由前端上传</li> </ul> <p><strong>请求URL:</strong> </p> <ul> <li><code>http://ydadmindev2.heywoodsminiprogram.com/music/store</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 style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">data</td> <td style="text-align: left;">是</td> <td style="text-align: left;">array</td> <td>音乐信息</td> </tr> </tbody> </table> <p>data格式</p> <pre><code>[{ "music_name": "一首歌", //string "source_path": "safdsdsfdfs", //string "music_author": "一个人", //string "category_id": 2, //int "sort_power": 5 //int }, { "music_name": "二首歌", //string "source_path": "safdsdsfdfs2", //string "music_author": "二个人", //string "category_id": 2, //int "sort_power": 4 //int }]</code></pre> <p><strong>返回示例</strong></p> <pre><code> { "code": 1, "mgs":"新增成功" }</code></pre> <p><strong>备注</strong> </p> <ul> <li>错误返回 { &quot;code&quot;: -1, &quot;mgs&quot;:&quot;信息重复&quot; }</li> </ul>

页面列表

ITEM_HTML