v4.0.20版本迭代推广码增加渠道负责人

This commit is contained in:
2026-09-17 09:06:29 +08:00
parent 1867e7ea55
commit b9921b1a75
36 changed files with 12138 additions and 112 deletions
+23
View File
@@ -27,6 +27,13 @@ export type PromoCodeOwnerUser = {
phone?: string | null;
};
export type PromoCodePartnerBrief = {
id: string;
companyName?: string | null;
name?: string | null;
phone?: string | null;
};
export type PromoCodeItem = {
id: string;
code: string;
@@ -40,11 +47,27 @@ export type PromoCodeItem = {
landingUrl: string;
qrcodeUrl?: string | null;
remark?: string | null;
/** @deprecated HQ 不再编辑;历史 C 端用户渠道负责人 */
ownerUser?: PromoCodeOwnerUser | null;
/** 渠道负责人:主合伙人,可多选 */
channelOwners?: PromoCodePartnerBrief[];
/** 关联合伙人:扫码 first-lock 绑定 */
assocPartner?: PromoCodePartnerBrief | null;
createdAt: string;
updatedAt: string;
};
/** 合伙人 H5:仅三项汇总,不含用户/订单明细 */
export type PartnerPromoCodeItem = {
id: string;
name: string;
code: string;
status: PromoCodeStatus;
scanCount: number;
attributionCount: number;
orderCount: number;
};
export type PromoCodeStats = {
/** 扫码进入次数 */
scanCount: number;
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@dukang/shared-ui",
"version": "4.0.19",
"version": "4.0.20",
"private": true,
"type": "module",
"exports": {