九牧

九牧


获取角色详情

<p><strong>简要描述:</strong> </p> <ul> <li>获取角色列表</li> </ul> <p><strong>请求URL:</strong> </p> <ul> <li><code>http://localhost:8080/api/store/app/appCall?jsonParam={"opeType":"getShopRoleInfo","map":{"token":"b1c2fbeb8096984f27b0188cbe2eacb4","sessionId":"e5af1713-e233-4188-9d2a-0f478b530d8c","accountUuid":"6e5c23645fe94636b5ba237b34408738","shopUuid":"e9be3722884643a7afde90e71f307a58","uuid":"b0b749da727d484dbca25ee22de6a34d"}}</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;">token</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>登录返回的token</td> </tr> <tr> <td style="text-align: left;">sessionId</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>登录返回的sessionId</td> </tr> <tr> <td style="text-align: left;">accountUuid</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>登录帐号uuid</td> </tr> <tr> <td style="text-align: left;">shopUuid</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>登录门店uuid</td> </tr> <tr> <td style="text-align: left;">uuid</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>角色uuid</td> </tr> </tbody> </table> <p><strong>返回示例</strong></p> <pre><code>{ "data": { "menuList": [ { "checked": true, "createBy": null, "createTime": null, "delFlag": "", "mapCondition": {}, "memo": "", "menuIcon": null, "menuName": "优惠券管理", "menuUrl": "", "opeTime": "", "oper": "", "sortName": "uuid", "sortNum": 1, "sortType": "desc", "state": "1", "uuid": "1" }, { "checked": true, "createBy": null, "createTime": null, "delFlag": "", "mapCondition": {}, "memo": "", "menuIcon": null, "menuName": "活动奖励", "menuUrl": "", "opeTime": "", "oper": "", "sortName": "uuid", "sortNum": 2, "sortType": "desc", "state": "1", "uuid": "2" }, { "checked": true, "createBy": null, "createTime": null, "delFlag": "", "mapCondition": {}, "memo": "", "menuIcon": null, "menuName": "售后管理", "menuUrl": "", "opeTime": "", "oper": "", "sortName": "uuid", "sortNum": 3, "sortType": "desc", "state": "1", "uuid": "3" }, { "checked": true, "createBy": null, "createTime": null, "delFlag": "", "mapCondition": {}, "memo": "", "menuIcon": null, "menuName": "商品列表", "menuUrl": "", "opeTime": "", "oper": "", "sortName": "uuid", "sortNum": 4, "sortType": "desc", "state": "1", "uuid": "4" }, { "checked": false, "createBy": null, "createTime": null, "delFlag": "", "mapCondition": {}, "memo": "", "menuIcon": null, "menuName": "我的收益", "menuUrl": "", "opeTime": "", "oper": "", "sortName": "uuid", "sortNum": 5, "sortType": "desc", "state": "1", "uuid": "5" }, { "checked": false, "createBy": null, "createTime": null, "delFlag": "", "mapCondition": {}, "memo": "", "menuIcon": null, "menuName": "会员管理", "menuUrl": "", "opeTime": "", "oper": "", "sortName": "uuid", "sortNum": 6, "sortType": "desc", "state": "1", "uuid": "6" }, { "checked": false, "createBy": null, "createTime": null, "delFlag": "", "mapCondition": {}, "memo": "", "menuIcon": null, "menuName": "门店管理", "menuUrl": "", "opeTime": "", "oper": "", "sortName": "uuid", "sortNum": 7, "sortType": "desc", "state": "1", "uuid": "7" }, { "checked": false, "createBy": null, "createTime": null, "delFlag": "", "mapCondition": {}, "memo": "", "menuIcon": null, "menuName": "帐号管理", "menuUrl": "", "opeTime": "", "oper": "", "sortName": "uuid", "sortNum": 8, "sortType": "desc", "state": "1", "uuid": "8" } ], "shopRole": { "createBy": "", "createTime": "2019-04-02 15:03:32", "delFlag": "1", "mapCondition": {}, "memo": null, "opeTime": "2019-04-02 15:09:29", "oper": "", "roleName": "角色A", "shopUuid": "e9be3722884643a7afde90e71f307a58", "sortName": "uuid", "sortType": "desc", "uuid": "8c976f938aa64e768d94a4551480d6e1" } }, "message": "成功", "return_code": "0" }</code></pre> <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;">return_code</td> <td style="text-align: left;">String</td> <td>返回标识</td> </tr> <tr> <td style="text-align: left;">message</td> <td style="text-align: left;">String</td> <td>返回标识描述</td> </tr> <tr> <td style="text-align: left;">shopRole</td> <td style="text-align: left;">Object</td> <td>角色对象</td> </tr> <tr> <td style="text-align: left;">menuList</td> <td style="text-align: left;">List(Object)</td> <td>菜单列表</td> </tr> <tr> <td style="text-align: left;">checked</td> <td style="text-align: left;">boolean</td> <td>true选中,false未选中</td> </tr> </tbody> </table> <p><strong>备注</strong> </p> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul> <p>欢迎使用ShowDoc!</p>

页面列表

ITEM_HTML