feat: 支持微信用户列表展示

This commit is contained in:
richarjiang
2026-04-05 20:19:08 +08:00
parent 7bce04a163
commit f8f6f17bd4
8 changed files with 508 additions and 1 deletions

View File

@@ -37,3 +37,29 @@ export interface UserFormData {
password: string
name?: string
}
export interface WxUser {
id: string
openid: string
sessionKey: string | null
nickname: string | null
avatarUrl: string | null
points: number
createdAt: Date
updatedAt: Date
}
export interface WxUserLevelProgress {
id: string
userId: string
levelId: string
completedAt: Date
level?: {
id: string
answer: string
}
}
export interface WxUserWithProgress extends WxUser {
levelProgress: WxUserLevelProgress[]
}