feat: 数据分析
This commit is contained in:
@@ -1575,6 +1575,169 @@ paths:
|
||||
summary: 支付
|
||||
tags:
|
||||
- 微信支付
|
||||
/radio/analytics/business-conversion:
|
||||
get:
|
||||
parameters:
|
||||
- description: 开始日期
|
||||
in: query
|
||||
name: startDate
|
||||
type: string
|
||||
- description: 结束日期
|
||||
in: query
|
||||
name: endDate
|
||||
type: string
|
||||
responses:
|
||||
"200":
|
||||
description: OK
|
||||
schema:
|
||||
$ref: '#/definitions/response.Response'
|
||||
summary: 获取商业转化分析 (Funnel & LTV)
|
||||
tags:
|
||||
- 数据分析
|
||||
/radio/analytics/content-quality:
|
||||
get:
|
||||
parameters:
|
||||
- description: 频道ID
|
||||
in: query
|
||||
name: channelId
|
||||
type: string
|
||||
responses:
|
||||
"200":
|
||||
description: OK
|
||||
schema:
|
||||
$ref: '#/definitions/response.Response'
|
||||
summary: 获取内容质量分析(完播率等)
|
||||
tags:
|
||||
- 数据分析
|
||||
/radio/analytics/listening-trend:
|
||||
get:
|
||||
parameters:
|
||||
- description: 开始日期 2026-01-01
|
||||
in: query
|
||||
name: startDate
|
||||
type: string
|
||||
- description: 结束日期 2026-03-10
|
||||
in: query
|
||||
name: endDate
|
||||
type: string
|
||||
- description: 频道ID(可选筛选)
|
||||
in: query
|
||||
name: channelId
|
||||
type: string
|
||||
produces:
|
||||
- application/json
|
||||
responses:
|
||||
"200":
|
||||
description: OK
|
||||
schema:
|
||||
$ref: '#/definitions/response.Response'
|
||||
summary: 获取收听趋势(折线图)
|
||||
tags:
|
||||
- 数据分析
|
||||
/radio/analytics/preference:
|
||||
get:
|
||||
responses:
|
||||
"200":
|
||||
description: OK
|
||||
schema:
|
||||
$ref: '#/definitions/response.Response'
|
||||
summary: 获取品类偏好分析
|
||||
tags:
|
||||
- 数据分析
|
||||
/radio/analytics/renewal-trend:
|
||||
get:
|
||||
parameters:
|
||||
- description: 开始日期
|
||||
in: query
|
||||
name: startDate
|
||||
type: string
|
||||
- description: 结束日期
|
||||
in: query
|
||||
name: endDate
|
||||
type: string
|
||||
- description: 频道ID
|
||||
in: query
|
||||
name: channelId
|
||||
type: string
|
||||
produces:
|
||||
- application/json
|
||||
responses:
|
||||
"200":
|
||||
description: OK
|
||||
schema:
|
||||
$ref: '#/definitions/response.Response'
|
||||
summary: 获取续费趋势(折线图)
|
||||
tags:
|
||||
- 数据分析
|
||||
/radio/analytics/subscriber-stats:
|
||||
get:
|
||||
parameters:
|
||||
- description: 开始日期
|
||||
in: query
|
||||
name: startDate
|
||||
type: string
|
||||
- description: 结束日期
|
||||
in: query
|
||||
name: endDate
|
||||
type: string
|
||||
- description: 频道ID
|
||||
in: query
|
||||
name: channelId
|
||||
type: string
|
||||
produces:
|
||||
- application/json
|
||||
responses:
|
||||
"200":
|
||||
description: OK
|
||||
schema:
|
||||
$ref: '#/definitions/response.Response'
|
||||
summary: 获取订阅用户统计(折线图 + 概览)
|
||||
tags:
|
||||
- 数据分析
|
||||
/radio/analytics/subscription-trend:
|
||||
get:
|
||||
parameters:
|
||||
- description: 开始日期
|
||||
in: query
|
||||
name: startDate
|
||||
type: string
|
||||
- description: 结束日期
|
||||
in: query
|
||||
name: endDate
|
||||
type: string
|
||||
- description: 频道ID
|
||||
in: query
|
||||
name: channelId
|
||||
type: string
|
||||
produces:
|
||||
- application/json
|
||||
responses:
|
||||
"200":
|
||||
description: OK
|
||||
schema:
|
||||
$ref: '#/definitions/response.Response'
|
||||
summary: 获取订阅趋势(折线图)
|
||||
tags:
|
||||
- 数据分析
|
||||
/radio/analytics/user-stickiness:
|
||||
get:
|
||||
parameters:
|
||||
- description: 开始日期
|
||||
in: query
|
||||
name: startDate
|
||||
type: string
|
||||
- description: 结束日期
|
||||
in: query
|
||||
name: endDate
|
||||
type: string
|
||||
responses:
|
||||
"200":
|
||||
description: OK
|
||||
schema:
|
||||
$ref: '#/definitions/response.Response'
|
||||
summary: 获取用户留存分析 (Cohort)
|
||||
tags:
|
||||
- 数据分析
|
||||
/radio/category/delete:
|
||||
post:
|
||||
parameters:
|
||||
|
||||
Reference in New Issue
Block a user