推广码后端页面优化

This commit is contained in:
2026-07-23 00:43:49 +08:00
parent cd6b82abd8
commit e93e4a7721
11 changed files with 456 additions and 260 deletions
+5 -1
View File
@@ -45,12 +45,16 @@ export type PromoCodeItem = {
};
export type PromoCodeStats = {
/** 扫码进入次数 */
scanCount: number;
orderCount: number;
conversionRate: number;
/** 归因用户数(user_promo_attribution */
attributionCount?: number;
/** 用户表 source_ref_id 指向本推广码的用户数 */
/** 扫码注册用户数:用户来源标记为本推广码 */
sourceMarkedCount?: number;
/** @deprecated 同 sourceMarkedCount,兼容旧字段名 */
registerCount?: number;
};
export type PromoCodeAttributedUser = {