- 弃用 service 请求,重新设计了 request 请求方案。
- 用户信息绑定方式更改为 userInfo
This commit is contained in:
17
types/index.ts
Normal file
17
types/index.ts
Normal file
@@ -0,0 +1,17 @@
|
||||
export type UserInfo = {
|
||||
unionid: string; // 用户唯一id
|
||||
id: number; // 用户id
|
||||
nickName: string; // 昵称
|
||||
avatarUrl?: string; // 头像
|
||||
phone: string; // 手机号
|
||||
gender: number; // 性别
|
||||
status: number; // 状态
|
||||
description?: string; // 描述
|
||||
loginType: number; // 登录类型
|
||||
province?: string; // 省份
|
||||
city?: string; // 城市
|
||||
district?: string; // 区县
|
||||
birthday?: string; // 生日
|
||||
createTime: string; // 创建时间
|
||||
updateTime: string; // 更新时间
|
||||
};
|
||||
Reference in New Issue
Block a user