feat: 支持微信用户列表展示
This commit is contained in:
@@ -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[]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user