新增消息管理页面,整合消息API,支持消息列表展示、未读消息统计、消息标记为已读及删除功能,提升用户消息管理体验。
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user