You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
73 lines
1.3 KiB
73 lines
1.3 KiB
import type { PageParam } from '@/api';
|
|
|
|
/**
|
|
* 用户
|
|
*/
|
|
export interface Users {
|
|
//
|
|
userId?: number;
|
|
// 用户唯一小程序id
|
|
openid?: string;
|
|
// 小程序用户秘钥
|
|
sessionKey?: string;
|
|
// 用户名
|
|
username?: string;
|
|
// 头像地址
|
|
avatarUrl?: string;
|
|
// 1男,2女
|
|
sex?: string;
|
|
// 国家
|
|
country?: string;
|
|
// 省份
|
|
province?: string;
|
|
// 城市
|
|
city?: string;
|
|
// 所在辖区
|
|
region?: string;
|
|
// 经度
|
|
longitude?: string;
|
|
// 纬度
|
|
latitude?: string;
|
|
// 手机号码
|
|
phone?: string;
|
|
// 邮箱
|
|
email?: string;
|
|
// 邮箱是否验证, 0否, 1是
|
|
emailVerified?: number;
|
|
// 积分
|
|
points?: string;
|
|
// 余额
|
|
balance?: string;
|
|
// 注册时间
|
|
addTime?: number;
|
|
// 身份证号码
|
|
idCard?: string;
|
|
// 真实姓名
|
|
realName?: string;
|
|
// 是否管理员:1是;2否
|
|
isAdmin?: string;
|
|
// 客户端ID
|
|
clientId?: string;
|
|
// 注册来源客户端 (APP、H5、小程序等)
|
|
platform?: string;
|
|
// 排序
|
|
sortNumber?: number;
|
|
// 备注
|
|
comments?: string;
|
|
// 状态
|
|
status?: number;
|
|
// 是否删除, 0否, 1是
|
|
deleted?: number;
|
|
// 租户id
|
|
tenantId?: number;
|
|
// 注册时间
|
|
createTime?: string;
|
|
}
|
|
|
|
/**
|
|
* 用户搜索条件
|
|
*/
|
|
export interface UsersParam extends PageParam {
|
|
userId?: number;
|
|
keywords?: string;
|
|
}
|