保险计划书

保险计划书


获取角色管理

[TOC]

简要描述
  • 获取角色管理--列表接口
请求URL
  • https://dev.yibaojiankang.com/api/oms/role/show_role
请求方式
  • GET
参数名 必选 类型 说明
返回示例
{
    "code": "200",
    "data": {
        "role_list": [
            {
                "menu_list": [
                    "/projectmanage",
                    "/projectmanage/project",
                    "/projectmanage/project/add",
                    "/projectmanage/product",
                    "/projectmanage/product/setting",
                    "/projectmanage/scheme",
                    "/projectmanage/scheme/add",
                    "/projectmanage/discount",
                    "/projectmanage/discount/add",
                    "/chainmanage",
                    "/chainmanage/chaininfo",
                    "/chainmanage/chaininfo/shop",
                    "/authmanage",
                    "/authmanage/membermanage",
                    "/authmanage/rolesmanage"
                ],
                "role_desc": "最高权限",
                "role_id": 1,
                "role_name": "超级无敌管理员",
                "role_state": 1,
                "role_tree": {},
                "updated_at": "2022-07-25"
            }
        ]
    },
    "message": "获取角色列表成功"
}
返回参数说明
参数名 类型 说明
menu_list list 菜单权限
role_desc str 角色描述
role_id int 角色id
role_name str 角色名称
role_state int 角色状态; 角色状态 ;0-停用; 1-正常
role_tree str 角色权限
updated_at list 更新时间
备注
  • 更多返回错误代码请看首页的错误代码描述
返回示例
{
    "code": "200",
    "data": {
        "level": "健易保",
        "menu_list": [
            "/projectmanage",
            "/projectmanage/project",
            "/projectmanage/project/add",
            "/projectmanage/product",
            "/projectmanage/product/setting",
            "/projectmanage/scheme",
            "/projectmanage/scheme/add",
            "/projectmanage/discount",
            "/projectmanage/discount/add",
            "/chainmanage",
            "/chainmanage/chaininfo",
            "/chainmanage/chaininfo/shop",
            "/authmanage",
            "/authmanage/membermanage",
            "/authmanage/rolesmanage"
        ],
        "name": "运营平台",
        "product_list": [
            "az",
            "clc"
        ]
    },
    "message": "success"
}
返回参数说明
参数名 类型 说明
level str 部门
menu_list str 菜单路由
name str 账户用户名
product_list str 可访问的项目列表
备注
  • 更多返回错误代码请看首页的错误代码描述

页面列表

ITEM_HTML