新增消息管理页面,整合消息API,支持消息列表展示、未读消息统计、消息标记为已读及删除功能,提升用户消息管理体验。

This commit is contained in:
zyh
2025-04-10 09:07:31 +00:00
parent 948cd5263e
commit d5c31777d2
4 changed files with 383 additions and 3 deletions

View File

@@ -28,7 +28,7 @@ export function createUserRoutes(withAuth: WithAuth) {
}
const total = await query.clone().count()
const users = await query.select('id', 'username', 'nickname', 'email', 'phone', 'role', 'created_at')
const users = await query.select('id', 'username', 'nickname', 'email', 'phone', 'created_at')
.limit(pageSize).offset(offset)
return c.json({