feat: 把hello项目文件搬过来
This commit is contained in:
7
src/typings.d.ts
vendored
7
src/typings.d.ts
vendored
@@ -6,15 +6,10 @@ export type IResData<T> = {
|
||||
result: T
|
||||
}
|
||||
|
||||
export type UserInfo = {
|
||||
export type IUserInfo = {
|
||||
nickname?: string
|
||||
avatar?: string
|
||||
/** 微信的 openid,非微信没有这个字段 */
|
||||
openid?: string
|
||||
token?: string
|
||||
}
|
||||
|
||||
export type UserItem = {
|
||||
username: string
|
||||
age: number
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user