feat(api): 添加分销商相关数据模型

- 新增分销商申请、资金明细、订单记录、推荐关系、设置、用户记录、提现明细等数据模型
- 更新环境配置,修改 API 基础 URL 和应用名称
This commit is contained in:
2025-08-11 12:04:21 +08:00
parent ffc73f45c2
commit 044c6f8580
8 changed files with 277 additions and 4 deletions

View File

@@ -0,0 +1,49 @@
import type { PageParam } from '@/api/index';
/**
* 分销商用户记录表
*/
export interface ShopDealerUser {
// 主键ID
id?: number;
// 自增ID
userId?: number;
// 姓名
realName?: string;
// 手机号
mobile?: string;
// 支付密码
payPassword?: string;
// 当前可提现佣金
money?: string;
// 已冻结佣金
freezeMoney?: string;
// 累积提现佣金
totalMoney?: string;
// 推荐人用户ID
refereeId?: number;
// 成员数量(一级)
firstNum?: number;
// 成员数量(二级)
secondNum?: number;
// 成员数量(三级)
thirdNum?: number;
// 专属二维码
qrcode?: string;
// 是否删除
isDelete?: number;
// 租户id
tenantId?: number;
// 创建时间
createTime?: string;
// 修改时间
updateTime?: string;
}
/**
* 分销商用户记录表搜索条件
*/
export interface ShopDealerUserParam extends PageParam {
id?: number;
keywords?: string;
}