feat: deepen report metrics

This commit is contained in:
2026-01-15 17:50:37 +08:00
parent ba1d120c84
commit 914df9edf2
10 changed files with 1163 additions and 52 deletions

View File

@@ -6873,10 +6873,26 @@ const docTemplate = `{
"dto.ReportOverviewItem": {
"type": "object",
"properties": {
"comment_count": {
"description": "CommentCount 当日新增评论数。",
"type": "integer"
},
"content_created": {
"description": "ContentCreated 当日新增内容数。",
"type": "integer"
},
"date": {
"description": "Date 日期YYYY-MM-DD。",
"type": "string"
},
"favorite_actions": {
"description": "FavoriteActions 当日新增收藏数(基于互动记录)。",
"type": "integer"
},
"like_actions": {
"description": "LikeActions 当日新增点赞数(基于互动记录)。",
"type": "integer"
},
"paid_amount": {
"description": "PaidAmount 当日已支付金额(单位元)。",
"type": "number"
@@ -6892,6 +6908,30 @@ const docTemplate = `{
"refund_orders": {
"description": "RefundOrders 当日退款订单数。",
"type": "integer"
},
"withdrawal_apply_amount": {
"description": "WithdrawalApplyAmount 当日提现申请金额(单位元)。",
"type": "number"
},
"withdrawal_apply_orders": {
"description": "WithdrawalApplyOrders 当日提现申请订单数。",
"type": "integer"
},
"withdrawal_failed_amount": {
"description": "WithdrawalFailedAmount 当日提现失败金额(单位元)。",
"type": "number"
},
"withdrawal_failed_orders": {
"description": "WithdrawalFailedOrders 当日提现失败订单数。",
"type": "integer"
},
"withdrawal_paid_amount": {
"description": "WithdrawalPaidAmount 当日提现完成金额(单位元)。",
"type": "number"
},
"withdrawal_paid_orders": {
"description": "WithdrawalPaidOrders 当日提现完成订单数。",
"type": "integer"
}
}
},
@@ -6918,10 +6958,30 @@ const docTemplate = `{
"dto.ReportSummary": {
"type": "object",
"properties": {
"comment_count": {
"description": "CommentCount 统计区间内新增评论数。",
"type": "integer"
},
"content_count": {
"description": "ContentCount 内容总量(当前快照)。",
"type": "integer"
},
"content_created": {
"description": "ContentCreated 统计区间内新增内容数。",
"type": "integer"
},
"conversion_rate": {
"description": "ConversionRate 转化率(已支付订单数 / 累计曝光)。",
"type": "number"
},
"favorite_actions": {
"description": "FavoriteActions 统计区间内新增收藏数(基于互动记录)。",
"type": "integer"
},
"like_actions": {
"description": "LikeActions 统计区间内新增点赞数(基于互动记录)。",
"type": "integer"
},
"paid_amount": {
"description": "PaidAmount 统计区间内已支付金额(单位元)。",
"type": "number"
@@ -6941,6 +7001,30 @@ const docTemplate = `{
"total_views": {
"description": "TotalViews 内容累计曝光(全量累计值,用于粗略换算)。",
"type": "integer"
},
"withdrawal_apply_amount": {
"description": "WithdrawalApplyAmount 统计区间内提现申请金额(单位元)。",
"type": "number"
},
"withdrawal_apply_orders": {
"description": "WithdrawalApplyOrders 统计区间内提现申请订单数。",
"type": "integer"
},
"withdrawal_failed_amount": {
"description": "WithdrawalFailedAmount 统计区间内提现失败金额(单位元)。",
"type": "number"
},
"withdrawal_failed_orders": {
"description": "WithdrawalFailedOrders 统计区间内提现失败订单数。",
"type": "integer"
},
"withdrawal_paid_amount": {
"description": "WithdrawalPaidAmount 统计区间内提现完成金额(单位元)。",
"type": "number"
},
"withdrawal_paid_orders": {
"description": "WithdrawalPaidOrders 统计区间内提现完成订单数。",
"type": "integer"
}
}
},

View File

@@ -6867,10 +6867,26 @@
"dto.ReportOverviewItem": {
"type": "object",
"properties": {
"comment_count": {
"description": "CommentCount 当日新增评论数。",
"type": "integer"
},
"content_created": {
"description": "ContentCreated 当日新增内容数。",
"type": "integer"
},
"date": {
"description": "Date 日期YYYY-MM-DD。",
"type": "string"
},
"favorite_actions": {
"description": "FavoriteActions 当日新增收藏数(基于互动记录)。",
"type": "integer"
},
"like_actions": {
"description": "LikeActions 当日新增点赞数(基于互动记录)。",
"type": "integer"
},
"paid_amount": {
"description": "PaidAmount 当日已支付金额(单位元)。",
"type": "number"
@@ -6886,6 +6902,30 @@
"refund_orders": {
"description": "RefundOrders 当日退款订单数。",
"type": "integer"
},
"withdrawal_apply_amount": {
"description": "WithdrawalApplyAmount 当日提现申请金额(单位元)。",
"type": "number"
},
"withdrawal_apply_orders": {
"description": "WithdrawalApplyOrders 当日提现申请订单数。",
"type": "integer"
},
"withdrawal_failed_amount": {
"description": "WithdrawalFailedAmount 当日提现失败金额(单位元)。",
"type": "number"
},
"withdrawal_failed_orders": {
"description": "WithdrawalFailedOrders 当日提现失败订单数。",
"type": "integer"
},
"withdrawal_paid_amount": {
"description": "WithdrawalPaidAmount 当日提现完成金额(单位元)。",
"type": "number"
},
"withdrawal_paid_orders": {
"description": "WithdrawalPaidOrders 当日提现完成订单数。",
"type": "integer"
}
}
},
@@ -6912,10 +6952,30 @@
"dto.ReportSummary": {
"type": "object",
"properties": {
"comment_count": {
"description": "CommentCount 统计区间内新增评论数。",
"type": "integer"
},
"content_count": {
"description": "ContentCount 内容总量(当前快照)。",
"type": "integer"
},
"content_created": {
"description": "ContentCreated 统计区间内新增内容数。",
"type": "integer"
},
"conversion_rate": {
"description": "ConversionRate 转化率(已支付订单数 / 累计曝光)。",
"type": "number"
},
"favorite_actions": {
"description": "FavoriteActions 统计区间内新增收藏数(基于互动记录)。",
"type": "integer"
},
"like_actions": {
"description": "LikeActions 统计区间内新增点赞数(基于互动记录)。",
"type": "integer"
},
"paid_amount": {
"description": "PaidAmount 统计区间内已支付金额(单位元)。",
"type": "number"
@@ -6935,6 +6995,30 @@
"total_views": {
"description": "TotalViews 内容累计曝光(全量累计值,用于粗略换算)。",
"type": "integer"
},
"withdrawal_apply_amount": {
"description": "WithdrawalApplyAmount 统计区间内提现申请金额(单位元)。",
"type": "number"
},
"withdrawal_apply_orders": {
"description": "WithdrawalApplyOrders 统计区间内提现申请订单数。",
"type": "integer"
},
"withdrawal_failed_amount": {
"description": "WithdrawalFailedAmount 统计区间内提现失败金额(单位元)。",
"type": "number"
},
"withdrawal_failed_orders": {
"description": "WithdrawalFailedOrders 统计区间内提现失败订单数。",
"type": "integer"
},
"withdrawal_paid_amount": {
"description": "WithdrawalPaidAmount 统计区间内提现完成金额(单位元)。",
"type": "number"
},
"withdrawal_paid_orders": {
"description": "WithdrawalPaidOrders 统计区间内提现完成订单数。",
"type": "integer"
}
}
},

View File

@@ -993,9 +993,21 @@ definitions:
type: object
dto.ReportOverviewItem:
properties:
comment_count:
description: CommentCount 当日新增评论数。
type: integer
content_created:
description: ContentCreated 当日新增内容数。
type: integer
date:
description: Date 日期YYYY-MM-DD
type: string
favorite_actions:
description: FavoriteActions 当日新增收藏数(基于互动记录)。
type: integer
like_actions:
description: LikeActions 当日新增点赞数(基于互动记录)。
type: integer
paid_amount:
description: PaidAmount 当日已支付金额(单位元)。
type: number
@@ -1008,6 +1020,24 @@ definitions:
refund_orders:
description: RefundOrders 当日退款订单数。
type: integer
withdrawal_apply_amount:
description: WithdrawalApplyAmount 当日提现申请金额(单位元)。
type: number
withdrawal_apply_orders:
description: WithdrawalApplyOrders 当日提现申请订单数。
type: integer
withdrawal_failed_amount:
description: WithdrawalFailedAmount 当日提现失败金额(单位元)。
type: number
withdrawal_failed_orders:
description: WithdrawalFailedOrders 当日提现失败订单数。
type: integer
withdrawal_paid_amount:
description: WithdrawalPaidAmount 当日提现完成金额(单位元)。
type: number
withdrawal_paid_orders:
description: WithdrawalPaidOrders 当日提现完成订单数。
type: integer
type: object
dto.ReportOverviewResponse:
properties:
@@ -1023,9 +1053,24 @@ definitions:
type: object
dto.ReportSummary:
properties:
comment_count:
description: CommentCount 统计区间内新增评论数。
type: integer
content_count:
description: ContentCount 内容总量(当前快照)。
type: integer
content_created:
description: ContentCreated 统计区间内新增内容数。
type: integer
conversion_rate:
description: ConversionRate 转化率(已支付订单数 / 累计曝光)。
type: number
favorite_actions:
description: FavoriteActions 统计区间内新增收藏数(基于互动记录)。
type: integer
like_actions:
description: LikeActions 统计区间内新增点赞数(基于互动记录)。
type: integer
paid_amount:
description: PaidAmount 统计区间内已支付金额(单位元)。
type: number
@@ -1041,6 +1086,24 @@ definitions:
total_views:
description: TotalViews 内容累计曝光(全量累计值,用于粗略换算)。
type: integer
withdrawal_apply_amount:
description: WithdrawalApplyAmount 统计区间内提现申请金额(单位元)。
type: number
withdrawal_apply_orders:
description: WithdrawalApplyOrders 统计区间内提现申请订单数。
type: integer
withdrawal_failed_amount:
description: WithdrawalFailedAmount 统计区间内提现失败金额(单位元)。
type: number
withdrawal_failed_orders:
description: WithdrawalFailedOrders 统计区间内提现失败订单数。
type: integer
withdrawal_paid_amount:
description: WithdrawalPaidAmount 统计区间内提现完成金额(单位元)。
type: number
withdrawal_paid_orders:
description: WithdrawalPaidOrders 统计区间内提现完成订单数。
type: integer
type: object
dto.Settings:
properties: