featshop(): 添加分销商相关 API 接口和模型

- 新增分销商申请、资金明细、订单记录、推荐关系、设置、用户记录、提现明细等 API 接口
- 创建对应的模型接口和搜索参数接口
- 实现基本的 CRUD 操作函数- 优化优惠券列表展示字段
- 添加分销商申请列表搜索组件
This commit is contained in:
2025-08-11 11:31:52 +08:00
parent 14c91a63a1
commit 32fe74c71f
41 changed files with 4915 additions and 39 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;
}