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,35 @@
import type { PageParam } from '@/api/index';
/**
* 分销商资金明细表
*/
export interface ShopDealerCapital {
// 主键ID
id?: number;
// 分销商用户ID
userId?: number;
// 订单ID
orderId?: number;
// 资金流动类型 (10佣金收入 20提现支出 30转账支出 40转账收入)
flowType?: number;
// 金额
money?: string;
// 描述
describe?: string;
// 对方用户ID
toUserId?: number;
// 商城ID
tenantId?: number;
// 创建时间
createTime?: string;
// 修改时间
updateTime?: string;
}
/**
* 分销商资金明细表搜索条件
*/
export interface ShopDealerCapitalParam extends PageParam {
id?: number;
keywords?: string;
}