V4.0.9版本更新合伙人H5端调整

This commit is contained in:
2026-09-02 09:46:41 +08:00
parent af3c4b6f08
commit c905b3f930
33 changed files with 893 additions and 176 deletions
+15 -1
View File
@@ -3,6 +3,18 @@ export type PartnerAssocBindRequest = {
partnerId?: string;
};
export type PartnerAssocTouchRequest = {
scene?: string;
partnerId?: string;
countScan?: boolean;
};
export type PartnerAssocTouchResult = {
partnerId: string;
scanCounted: boolean;
scanCount: number;
};
export type PartnerAssocBindResult = {
bound: boolean;
alreadyBound: boolean;
@@ -14,9 +26,11 @@ export type PartnerAssocSummary = {
partnerId: string;
qrcodeUrl: string | null;
userCount: number;
/** 关联码扫码进入次数(未登录也计) */
scanCount?: number;
companyName?: string | null;
name: string;
/** 所选活动图;空表示用户管理主图只用关联码 */
/** 所选活动图;空表示用户管理主图只用关联码;子账号恒为空 */
activityPosterId?: string | null;
};
+12
View File
@@ -21,12 +21,24 @@ export interface PartnerMe {
managedWarehouseId?: string | null;
/** 是否已配置仓库管理(无则不展示/不推送酒订单) */
hasWarehouseAccess?: boolean;
/** 仅主账号:收款账户 */
bankAccount?: {
bankAccountName?: string | null;
bankAccountNo?: string | null;
bankBranch?: string | null;
};
}
export interface UpdatePartnerMeRequest {
name?: string;
}
export interface UpdatePartnerBankRequest {
bankAccountName: string;
bankAccountNo: string;
bankBranch: string;
}
export interface PartnerStaffItem {
id: string;
name: string;
+13
View File
@@ -147,6 +147,19 @@ export interface PartnerBillDto {
rejectReason?: string | null;
}
export interface PartnerSettlementCycleDto {
periodStart: string;
periodEnd: string;
nextIssueAt: string;
cycleLabel: string;
}
export interface PartnerSettlementPreviewDto extends PartnerSettlementCycleDto {
prepaymentAmount: number;
orderCommissionEstimate: number;
redeemCommissionEstimate: number;
}
export type PartnerBillItemKind = 'ORDER' | 'REDEEM';
export interface PartnerBillItemDto {