1
0
mirror of https://gitee.com/bookshelfplus/bookshelfplus synced 2025-09-21 01:10:39 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee

重新引入Redis;用户登录与管理员登录完成;引入NanoID代替UUID;调整Spring Boot idea中的启动参数;swagger页面描述信息完善;更新swagger,更新Api文档

This commit is contained in:
2022-04-01 22:40:59 +08:00
parent b27b709cbf
commit 6b47ded6ee
28 changed files with 1274 additions and 159 deletions

View File

@@ -44,8 +44,14 @@ router.get('/register', function (req, res) {
});
});
router.get('/admin/index', function (req, res) { // '/admin(/index)?'
res.render('admin/index', {
router.get('/dashboard/admin/index', function (req, res) { // '/admin(/index)?'
res.render('dashboard/admin/index', {
title: "后台管理(管理员)"
});
});
router.get('/dashboard/user/index', function (req, res) { // '/admin(/index)?'
res.render('dashboard/user/index', {
title: "后台管理"
});
});