修改:接口文档

Signed-off-by: skyselang <215817969@qq.com>
This commit is contained in:
skyselang 2021-10-25 18:47:20 +08:00
parent 1538d92bf5
commit de699c4e79
4 changed files with 28 additions and 29 deletions

1
.gitignore vendored
View File

@ -2,7 +2,6 @@
.DS_Store
node_modules/
dist/
admin/
npm-debug.log*
yarn-debug.log*
yarn-error.log*

View File

@ -170,8 +170,8 @@ export const asyncRoutes = [
title: '内容管理',
icon: 'el-icon-reading',
roles: [
'admin/cms.Category/list',
'admin/cms.Content/list',
'admin/cms.Category/list',
'admin/cms.Comment/list',
'admin/cms.Setting/info'
]
@ -180,16 +180,6 @@ export const asyncRoutes = [
component: Layout,
alwaysShow: true,
children: [
{
path: 'category',
name: 'CmsCategory',
meta: {
title: '内容分类',
icon: 'el-icon-reading',
roles: ['admin/cms.Category/list']
},
component: () => import('@/views/cms/category')
},
{
path: 'content',
name: 'CmsContent',
@ -200,6 +190,16 @@ export const asyncRoutes = [
},
component: () => import('@/views/cms/content')
},
{
path: 'category',
name: 'CmsCategory',
meta: {
title: '内容分类',
icon: 'el-icon-reading',
roles: ['admin/cms.Category/list']
},
component: () => import('@/views/cms/category')
},
{
path: 'comment',
name: 'CmsComment',
@ -301,21 +301,6 @@ export const asyncRoutes = [
},
component: () => import('@/views/api/api')
},
{
path: 'base',
name: 'SettingBase',
meta: {
title: '设置管理',
icon: 'el-icon-setting',
roles: [
'admin/Setting/tokenInfo',
'admin/Setting/captchaInfo',
'admin/Setting/logInfo',
'admin/Setting/apiInfo'
]
},
component: () => import('@/views/setting/base')
},
{
path: 'wechat',
name: 'SettingWechat',
@ -335,6 +320,21 @@ export const asyncRoutes = [
roles: ['admin/Region/list']
},
component: () => import('@/views/region/region')
},
{
path: 'base',
name: 'SettingBase',
meta: {
title: '基础设置',
icon: 'el-icon-setting',
roles: [
'admin/Setting/tokenInfo',
'admin/Setting/captchaInfo',
'admin/Setting/logInfo',
'admin/Setting/apiInfo'
]
},
component: () => import('@/views/setting/base')
}
]
},

View File

@ -11,7 +11,7 @@
<el-input v-model="query.request_keyword" class="filter-item" style="width: 155px;" placeholder="请求IP/地区/ISP" clearable />
<el-input v-model="query.menu_keyword" class="filter-item" style="width: 250px;" placeholder="菜单链接/名称" clearable />
<el-date-picker
v-model="query.create_time"
v-model="query.date_value"
type="daterange"
class="filter-item"
style="width: 240px;"

View File

@ -12,7 +12,7 @@
<el-input v-model="query.request_keyword" class="filter-item" style="width: 155px;" placeholder="请求IP/地区/ISP" clearable />
<el-input v-model="query.menu_keyword" class="filter-item" style="width: 250px;" placeholder="菜单链接/名称" clearable />
<el-date-picker
v-model="query.create_time"
v-model="query.date_value"
type="daterange"
class="filter-item"
style="width: 240px;"