feat: 新增受保护链接并将控制台合并为资源访问管理
- 新增 ProtectedLink/LinkVisitRecord,/link/{slug} 门禁页 + 一次性令牌跳转
- 复用邮箱验证体系,验证码邮件区分下载/链接模板
- 控制台下载资源与受保护链接合并为「资源访问管理」单页(页签切换)
- 引用扫描支持 /link/ 链接,角色模板/设置/文档同步更新
- 版本 1.3.0
This commit is contained in:
+21
-5
@@ -8,14 +8,14 @@ export default definePlugin({
|
||||
{
|
||||
parentName: 'Root',
|
||||
route: {
|
||||
path: '/download-manager',
|
||||
name: 'DownloadManager',
|
||||
component: () => import('@/views/DownloadManager.vue'),
|
||||
path: '/resource-manager',
|
||||
name: 'ResourceManager',
|
||||
component: () => import('@/views/ResourceManager.vue'),
|
||||
meta: {
|
||||
title: '下载管理',
|
||||
title: '资源访问管理',
|
||||
permissions: ['plugin:sharelink:view'],
|
||||
menu: {
|
||||
name: '下载管理',
|
||||
name: '资源访问管理',
|
||||
group: 'content',
|
||||
icon: markRaw(IconArrowDownCircleLine),
|
||||
priority: 52,
|
||||
@@ -23,6 +23,22 @@ export default definePlugin({
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
parentName: 'Root',
|
||||
route: {
|
||||
path: '/download-manager',
|
||||
name: 'DownloadManagerRedirect',
|
||||
redirect: '/resource-manager',
|
||||
},
|
||||
},
|
||||
{
|
||||
parentName: 'Root',
|
||||
route: {
|
||||
path: '/link-manager',
|
||||
name: 'LinkManagerRedirect',
|
||||
redirect: '/resource-manager',
|
||||
},
|
||||
},
|
||||
],
|
||||
extensionPoints: {},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user