DYH云

DYH开放接口


平台菜单

欢迎使用ShowDoc!

简要描述
  • 用户注册接口
请求URL
  • /api/platform/auth
请求方式
  • GET
参数
返回示例
{
    "code": 20000,
    "msg": "success",
    "time": "2020-07-17 16:19:50",
    "data": {
        "button": ["*"] 或者 ["/api/xxx", "/api/auth/xxx"]
        "tree": [
            {
                "path": "/",
                "redirect": "/dashboard",
                "children": [
                    {
                        "path": "dashboard",
                        "name": "Dashboard",
                        "meta": {
                            "title": "首页",
                            "icon": "dashboard"
                        }
                    }
                ]
            },
            {
                "path": "/liveManage",
                "name": "LiveManage",
                "meta": {
                    "title": "直播",
                    "icon": "live"
                },
                "redirect": "/liveManage/liveList",
                "children": [
                    {
                        "path": "liveList",
                        "name": "LiveList",
                        "meta": {
                            "title": "直播列表",
                            "icon": "item"
                        }
                    },
                    {
                        "path": "playback",
                        "name": "Playback",
                        "meta": {
                            "title": "回放视频",
                            "icon": "item "
                        }
                    },
                    {
                        "path": "accessTraffic",
                        "name": "AccessTraffic",
                        "meta": {
                            "title": "访问流量",
                            "icon": "item "
                        }
                    },
                    {
                        "path": "myTemplate",
                        "name": "MyTemplate",
                        "meta": {
                            "title": "我的模板",
                            "icon": "item "
                        }
                    },
                    {
                        "path": ":liveId",
                        "name": "LiveRoom",
                        "meta": {
                            "title": "直播频道管理",
                            "icon": "item"
                        },
                        "hidden": true
                    },
                    {
                        "path": ":liveId/activitylist",
                        "name": "ActivityList",
                        "meta": {
                            "title": "档期列表",
                            "icon": "item"
                        },
                        "hidden": true
                    }
                ]
            },
            {
                "path": "/dibbling",
                "name": "Dibbling",
                "meta": {
                    "title": "点播",
                    "icon": "dibbling"
                },
                "redirect": "/dibbling/albumList",
                "children": [
                    {
                        "path": "albumList",
                        "name": "AlbumList",
                        "meta": {
                            "title": "专辑列表",
                            "icon": "item"
                        }
                    },
                    {
                        "path": "xxx1",
                        "name": "xxx1",
                        "meta": {
                            "title": "其他",
                            "icon": "item"
                        },
                        "hidden": false
                    }
                ]
            },
            {
                "path": "/meeting",
                "name": "Meeting",
                "meta": {
                    "title": "会议",
                    "icon": "meeting"
                },
                "redirect": "/meeting/VideoAgent",
                "children": [
                    {
                        "path": "videoAgent",
                        "name": "VideoAgent",
                        "meta": {
                            "title": "视频坐席",
                            "icon": "item"
                        }
                    },
                    {
                        "path": "xxx2",
                        "name": "xxx2",
                        "meta": {
                            "title": "其他",
                            "icon": "item"
                        },
                        "hidden": false
                    }
                ]
            },
            {
                "path": "/resources",
                "name": "Resources",
                "meta": {
                    "title": "资源",
                    "icon": "resources"
                },
                "redirect": "/resources/videoLibrary",
                "children": [
                    {
                        "path": "videoLibrary",
                        "name": "VideoLibrary",
                        "meta": {
                            "title": "视频库",
                            "icon": "item"
                        }
                    },
                    {
                        "path": "pictureGallery",
                        "name": "PictureGallery",
                        "meta": {
                            "title": "图片库",
                            "icon": "item"
                        }
                    },
                    {
                        "path": "documents",
                        "name": "Documents",
                        "meta": {
                            "title": "文档",
                            "icon": "item"
                        }
                    }
                ]
            },
            {
                "path": "/statistics",
                "name": "Statistics",
                "meta": {
                    "title": "统计",
                    "icon": "statistics"
                },
                "redirect": "/statistics/flowAccounts",
                "children": [
                    {
                        "path": "flowAccounts",
                        "name": "FlowAccounts",
                        "meta": {
                            "title": "流量结算",
                            "icon": "item"
                        }
                    },
                    {
                        "path": "xxx3",
                        "name": "xxx3",
                        "meta": {
                            "title": "其他",
                            "icon": "item"
                        }
                    },
                    {
                        "path": "liveRecord",
                        "name": "LiveRecord",
                        "meta": {
                            "title": "观看统计",
                            "icon": "item"
                        },
                        "hidden": true
                    }
                ]
            },
            {
                "path": "/systemManage",
                "name": "SystemManage",
                "meta": {
                    "title": "系统",
                    "icon": "systemManage"
                },
                "redirect": "/live/accountManage",
                "children": [
                    {
                        "path": "accountManage",
                        "name": "AccountManage",
                        "meta": {
                            "title": "账号管理",
                            "icon": "item"
                        }
                    },
                    {
                        "path": "word",
                        "name": "Word",
                        "meta": {
                            "title": "敏感词管理",
                            "icon": "item"
                        }
                    },
                    {
                        "path": "recharge",
                        "name": "Recharge",
                        "meta": {
                            "title": "充值中心",
                            "icon": "item"
                        }
                    },
                    {
                        "path": "setting",
                        "name": "Setting",
                        "meta": {
                            "title": "设置",
                            "icon": "item"
                        }
                    }
                ]
            }
        ]
    }
}
返回参数说明
参数名 类型 说明
groupid int 用户组id,1:超级管理员;2:普通用户
备注
  • 更多返回错误代码请看首页的错误代码描述

页面列表

ITEM_HTML