unibest/src/typings.d.ts

16 lines
267 B
TypeScript
Raw Normal View History

2024-02-01 19:51:58 +08:00
// 全局要用的类型放到这里
export type IResData<T> = {
code: number
msg: string
result: T
}
2024-02-04 16:00:27 +08:00
export type IUserInfo = {
2024-01-20 18:41:18 +08:00
nickname?: string
avatar?: string
2024-01-20 18:21:42 +08:00
/** 微信的 openid非微信没有这个字段 */
openid?: string
2024-01-19 17:28:04 +08:00
token?: string
2023-12-23 11:27:00 +08:00
}