mirror of
https://gitee.com/bookshelfplus/bookshelfplus
synced 2025-09-15 21:01:40 +08:00
文件关联书籍功能完成
This commit is contained in:
@@ -89,6 +89,12 @@ router.get('/callback/:platform', function (req, res) {
|
||||
});
|
||||
});
|
||||
|
||||
router.get('/dashboard/iframe/:page', function (req, res) {
|
||||
res.render(`dashboard/component/iframe/${req.params.page}`, {
|
||||
pageUrl: (req._parsedUrl.pathname + "/").replace("//", "/"),
|
||||
});
|
||||
});
|
||||
|
||||
router.get('/dashboard/:group/:page/:subpage?', function (req, res) {
|
||||
// baseTemplate 基于哪个html模板渲染页面
|
||||
// pageTemplate 引入这个文件中的页面脚本
|
||||
|
Reference in New Issue
Block a user