v4.0.20版本迭代推广码增加渠道负责人
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user