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,47 @@
import type { PageParam } from '@/api/index';
/**
* 分销商提现明细表
*/
export interface ShopDealerWithdraw {
// 主键ID
id?: number;
// 分销商用户ID
userId?: number;
// 提现金额
money?: string;
// 打款方式 (10微信 20支付宝 30银行卡)
payType?: number;
// 支付宝姓名
alipayName?: string;
// 支付宝账号
alipayAccount?: string;
// 开户行名称
bankName?: string;
// 银行开户名
bankAccount?: string;
// 银行卡号
bankCard?: string;
// 申请状态 (10待审核 20审核通过 30驳回 40已打款)
applyStatus?: number;
// 审核时间
auditTime?: number;
// 驳回原因
rejectReason?: string;
// 来源客户端(APP、H5、小程序等)
platform?: string;
// 租户id
tenantId?: number;
// 创建时间
createTime?: string;
// 修改时间
updateTime?: string;
}
/**
* 分销商提现明细表搜索条件
*/
export interface ShopDealerWithdrawParam extends PageParam {
id?: number;
keywords?: string;
}