- 新增经销商申请相关接口和模型 - 实现经销商申请列表、搜索和编辑功能 - 添加管理员用户添加接口- 更新用户模型,增加推荐人ID字段 - 在角色接口中添加租户ID请求头 - 简化登录和注册页面代码 - 新增经销商申请相关的搜索和编辑组件
52 lines
1.0 KiB
TypeScript
52 lines
1.0 KiB
TypeScript
import type { PageParam } from '@/api';
|
|
|
|
/**
|
|
* 分销商申请记录表
|
|
*/
|
|
export interface ShopDealerApply {
|
|
// 主键ID
|
|
applyId?: number;
|
|
// 类型
|
|
type?: number;
|
|
// 用户ID
|
|
userId?: number;
|
|
// 姓名
|
|
realName?: string;
|
|
// 手机号
|
|
mobile?: string;
|
|
// 推荐人用户ID
|
|
refereeId?: number;
|
|
// 申请方式(10需后台审核 20无需审核)
|
|
applyType?: number;
|
|
// 申请时间
|
|
applyTime?: string | number | Date;
|
|
// 审核状态 (10待审核 20审核通过 30驳回)
|
|
applyStatus?: number;
|
|
// 审核时间
|
|
auditTime?: string | number | Date;
|
|
// 驳回原因
|
|
rejectReason?: string;
|
|
// 商城ID
|
|
tenantId?: number;
|
|
// 创建时间
|
|
createTime?: string;
|
|
// 修改时间
|
|
updateTime?: string;
|
|
}
|
|
|
|
/**
|
|
* 分销商申请记录表搜索条件
|
|
*/
|
|
export interface ShopDealerApplyParam extends PageParam {
|
|
applyId?: number;
|
|
userId?: number;
|
|
realName?: string;
|
|
mobile?: string;
|
|
refereeId?: number;
|
|
applyType?: number;
|
|
applyStatus?: number;
|
|
startTime?: string;
|
|
endTime?: string;
|
|
keywords?: string;
|
|
}
|