后台登录已经成功

This commit is contained in:
2025-08-31 21:06:52 +08:00
parent 5b12c6c163
commit c658033023
10 changed files with 1098 additions and 518 deletions

View File

@@ -178,7 +178,11 @@ router.put('/profile', authenticateUser, UserController.updateProfile);
* 500:
* description: 服务器内部错误
*/
// 已移除重复的GET /users 路由,避免冲突
router.get('/',
authenticateUser,
requireAdmin(['admin', 'super_admin']),
UserController.getUsers
);
/**
* @swagger