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,47 @@
import type { PageParam } from '@/api/index';
/**
* 分销商订单记录表
*/
export interface ShopDealerOrder {
// 主键ID
id?: number;
// 买家用户ID
userId?: number;
// 订单ID
orderId?: number;
// 订单总金额(不含运费)
orderPrice?: string;
// 分销商用户id(一级)
firstUserId?: number;
// 分销商用户id(二级)
secondUserId?: number;
// 分销商用户id(三级)
thirdUserId?: number;
// 分销佣金(一级)
firstMoney?: string;
// 分销佣金(二级)
secondMoney?: string;
// 分销佣金(三级)
thirdMoney?: string;
// 订单是否失效(0未失效 1已失效)
isInvalid?: number;
// 佣金结算(0未结算 1已结算)
isSettled?: number;
// 结算时间
settleTime?: number;
// 商城ID
tenantId?: number;
// 创建时间
createTime?: string;
// 修改时间
updateTime?: string;
}
/**
* 分销商订单记录表搜索条件
*/
export interface ShopDealerOrderParam extends PageParam {
id?: number;
keywords?: string;
}