保险计划书

保险计划书


获取完整菜单--权限树

[TOC]

简要描述
  • 获取完整菜单 权限树
请求URL
  • https://dev.yibaojiankang.com/api/oms/role/menu_tree
请求方式
  • POST
参数
参数名 必选 类型 说明
返回示例
{
    "code": "200",
    "data": {
        "tree": [
            {
                "children": [
                    {
                        "children": [
                            {
                                "key": 143,
                                "parent_id": 142,
                                "title": "创建项目",
                                "value": "/projectmanage/project/add"
                            }
                        ],
                        "key": 142,
                        "parent_id": 141,
                        "title": "项目配置",
                        "value": "/projectmanage/project"
                    },
                    {
                        "key": 144,
                        "parent_id": 141,
                        "title": "产品连锁配置",
                        "value": "/projectmanage/product"
                    },
                    {
                        "key": 145,
                        "parent_id": 141,
                        "title": "配置详情",
                        "value": "/projectmanage/product/setting"
                    },
                    {
                        "children": [
                            {
                                "key": 147,
                                "parent_id": 146,
                                "title": "创建方案",
                                "value": "/projectmanage/scheme/add"
                            }
                        ],
                        "key": 146,
                        "parent_id": 141,
                        "title": "方案模版",
                        "value": "/projectmanage/scheme"
                    },
                    {
                        "children": [
                            {
                                "key": 149,
                                "parent_id": 148,
                                "title": "创建满减优惠券",
                                "value": "/projectmanage/discount/add"
                            }
                        ],
                        "key": 148,
                        "parent_id": 141,
                        "title": "优惠券模版",
                        "value": "/projectmanage/discount"
                    },
                    {
                        "children": [
                            {
                                "key": 151,
                                "parent_id": 150,
                                "title": "连锁相关信息",
                                "value": "/chainmanage/chaininfo"
                            },
                            {
                                "key": 152,
                                "parent_id": 150,
                                "title": "门店管理",
                                "value": "/chainmanage/chaininfo/shop"
                            }
                        ],
                        "key": 150,
                        "parent_id": 141,
                        "title": "连锁管理",
                        "value": "/chainmanage"
                    },
                    {
                        "children": [
                            {
                                "key": 154,
                                "parent_id": 153,
                                "title": "成员管理",
                                "value": "/authmanage/membermanage"
                            },
                            {
                                "key": 155,
                                "parent_id": 153,
                                "title": "角色管理",
                                "value": "/authmanage/rolesmanage"
                            }
                        ],
                        "key": 153,
                        "parent_id": 141,
                        "title": "权限管理",
                        "value": "/authmanage"
                    }
                ],
                "key": 141,
                "parent_id": 0,
                "title": "项目管理",
                "value": "/projectmanage"
            }
        ]
    },
    "message": "获取权限树成功"
}
返回参数说明
参数名 类型 说明
key int 菜单id
parent_id int 上级菜单id
title str 菜单标题
value str 菜单路径
备注
  • 更多返回错误代码请看首页的错误代码描述

页面列表

ITEM_HTML