修改:接口文档

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 .DS_Store
node_modules/ node_modules/
dist/ dist/
admin/
npm-debug.log* npm-debug.log*
yarn-debug.log* yarn-debug.log*
yarn-error.log* yarn-error.log*

View File

@ -170,8 +170,8 @@ export const asyncRoutes = [
title: '内容管理', title: '内容管理',
icon: 'el-icon-reading', icon: 'el-icon-reading',
roles: [ roles: [
'admin/cms.Category/list',
'admin/cms.Content/list', 'admin/cms.Content/list',
'admin/cms.Category/list',
'admin/cms.Comment/list', 'admin/cms.Comment/list',
'admin/cms.Setting/info' 'admin/cms.Setting/info'
] ]
@ -180,16 +180,6 @@ export const asyncRoutes = [
component: Layout, component: Layout,
alwaysShow: true, alwaysShow: true,
children: [ children: [
{
path: 'category',
name: 'CmsCategory',
meta: {
title: '内容分类',
icon: 'el-icon-reading',
roles: ['admin/cms.Category/list']
},
component: () => import('@/views/cms/category')
},
{ {
path: 'content', path: 'content',
name: 'CmsContent', name: 'CmsContent',
@ -200,6 +190,16 @@ export const asyncRoutes = [
}, },
component: () => import('@/views/cms/content') 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', path: 'comment',
name: 'CmsComment', name: 'CmsComment',
@ -301,21 +301,6 @@ export const asyncRoutes = [
}, },
component: () => import('@/views/api/api') 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', path: 'wechat',
name: 'SettingWechat', name: 'SettingWechat',
@ -335,6 +320,21 @@ export const asyncRoutes = [
roles: ['admin/Region/list'] roles: ['admin/Region/list']
}, },
component: () => import('@/views/region/region') 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.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-input v-model="query.menu_keyword" class="filter-item" style="width: 250px;" placeholder="菜单链接/名称" clearable />
<el-date-picker <el-date-picker
v-model="query.create_time" v-model="query.date_value"
type="daterange" type="daterange"
class="filter-item" class="filter-item"
style="width: 240px;" 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.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-input v-model="query.menu_keyword" class="filter-item" style="width: 250px;" placeholder="菜单链接/名称" clearable />
<el-date-picker <el-date-picker
v-model="query.create_time" v-model="query.date_value"
type="daterange" type="daterange"
class="filter-item" class="filter-item"
style="width: 240px;" style="width: 240px;"