平台菜单
<p>欢迎使用ShowDoc!</p>
<h5>简要描述</h5>
<ul>
<li>用户注册接口</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>/api/platform/auth</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>GET</li>
</ul>
<h5>参数</h5>
<h5>返回示例</h5>
<pre><code>{
"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"
}
}
]
}
]
}
}</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>