返回 AiToEarn
plat.type.ts
根目录 / project / aitoearn-web / src / store / plugin / types / plat.type.ts
1 import type { PluginPlatformType } from '@/store/plugin/types/baseTypes'
2
3 export interface XhsLoginStatus {
4 home: boolean
5 creator: boolean
6 }
7
8 export interface WxSphLoginStatus {
9 channels: boolean
10 }
11
12 export interface PlatAccountInfo {
13 type: PluginPlatformType
14 loginCookie: string
15 uid: string
16 account: string
17 avatar: string
18 nickname: string
19 fansCount?: number
20 xhsLoginStatus?: XhsLoginStatus
21 wxSphLoginStatus?: WxSphLoginStatus
22 }
23
23 lines TYPESCRIPT