index.ts 628 Bytes
/**
 * 可选的 UTSJSONObject 类型
 * 用于表示可能为 null 的对象变量
 */
export type OptionalVars = UTSJSONObject | null

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; // 更新时间
};