feat(store): v4.0.18 门店多收款账户与子账号继承二维码

C 端门店列表拼接省市区县地址;门店多银行账户与默认打款账户;子账号独立 sa_ 关联码及统计维度;同步 v4.0.18 开发文档。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-09-07 15:56:16 +08:00
parent a9c466930d
commit 4bdb09068c
26 changed files with 1193 additions and 102 deletions
@@ -11,6 +11,7 @@ export type PartnerAssocTouchRequest = {
export type PartnerAssocTouchResult = {
partnerId: string;
subAccountId?: string | null;
scanCounted: boolean;
scanCount: number;
};
@@ -19,11 +20,16 @@ export type PartnerAssocBindResult = {
bound: boolean;
alreadyBound: boolean;
partnerId: string;
subAccountId?: string | null;
partnerName: string;
};
export type PartnerAssocSummary = {
partnerId: string;
/** 子账号时返回主账号 ID */
primaryAccountId?: string;
/** 是否为子账号自己的二维码维度 */
isSubAccount?: boolean;
qrcodeUrl: string | null;
userCount: number;
/** 关联码扫码进入次数(未登录也计) */
+19
View File
@@ -55,6 +55,25 @@ export interface StoreWithdrawBankAccountDto {
bankBranch?: string | null;
}
/** 门店收款银行账户(v4.0.18 多账户) */
export interface StoreBankAccountDto {
id: string;
storeId: string;
bankAccountName: string;
bankAccountNo: string;
bankBranch?: string | null;
isDefault: boolean;
status: 'ACTIVE' | 'DISABLED';
sortOrder?: number;
}
/** 门店收款银行账户新增/编辑入参 */
export interface StoreBankAccountInputDto {
bankAccountName: string;
bankAccountNo: string;
bankBranch?: string;
}
export interface StoreWithdrawSummaryDto {
availableAmount: number;
pendingReviewAmount: number;