DYH云

DYH开放接口


推送管理--上传轮播图

<p>[TOC]</p> <h5>简要描述</h5> <ul> <li>推送管理--上传轮播图</li> </ul> <h5>请求URL</h5> <ul> <li><code>https://vring.dyhculture.com/forestage/personal/uploadbanner.html</code></li> </ul> <h5>请求方式</h5> <ul> <li>POST </li> </ul> <h5>参数</h5> <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;">banner</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>(binary) 文件</td> </tr> </tbody> </table> <h5>返回示例</h5> <pre><code> { "code": 10000, "msg": "上传成功", "data": { "id": "12", "banner": [ { "BID": 9, "bannerName": "banner_01", "bannerUrl": "", "bannerImgName": "5b5e7bc8de68a.png", "state": "1", "isFirst": "0" }, { "BID": 10, "bannerName": "banner_02", "bannerUrl": "", "bannerImgName": "5b5e7bd77e42b.png", "state": "0", "isFirst": "1" }, { "BID": 11, "bannerName": "banner_03", "bannerUrl": "forestage/test/upload", "bannerImgName": "5b3436e9c8140.jpg", "state": "1", "isFirst": "0" }, { "BID": 12, "bannerName": null, "bannerUrl": null, "bannerImgName": "6375d8955b318.jpg", "state": "1", "isFirst": "0" } ] } }</code></pre> <h5>返回参数说明</h5> <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;">groupid</td> <td style="text-align: left;">int</td> <td>用户组id,1:超级管理员;2:普通用户</td> </tr> </tbody> </table> <h5>备注</h5> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul>

页面列表

ITEM_HTML