文档
测试

查看运营报表趋势图

POST
http://SERVER:PORT/oaOperationReport/getTrendChart

请求参数

参数名
类型
描述
必填
type
int
1:当前付费用户 2:月活跃用户 3:会员费收入 4:活跃用户占比 5:人均消费笔数 6:客单价 7:ARPU值 选填 默认是1 示例:1
必填
startTime
int
示例:1580486400 选填
必填
endTime
int
示例:1580486400
必填
channelId
int
查询的渠道id 不给就是查询所有 示例:37
必填
cycleType
int
周期类型 1:月 2:周 示例:1 月默认是12个月 周默认是12周
必填

响应参数

参数名
类型
描述
必填
statisticalTime
string
统计时间 示例:01
必填
statisticalData
int
统计数据 示例:991
必填
statisticalDate
string
统计日期 示例:2020.01
必填
statisticalValue
string
统计值 使用这个字段
必填
company
string
单位
必填

响应2

参数名
类型
描述
必填
endCurrentPayingUsers
string
当前付费用户 示例:0.00万
必填
monthlyActiveUsers
string
月活跃用户 示例:2.79万
必填
membershipFeeIncome
string
当期活跃用户占比 示例:6.67万
必填
proportionOfActiveUsers
string
会员费收入 示例:0
必填
perCapitaConsumption
string
人均消费笔数 示例:1
必填
unitPriceOfUsers
string
客单价 示例:233.62元
必填
arpuValue
string
ARPU值 示例:0
必填

响应说明 / 示例

``` { "flag": true, "code": "1000", "data": [ { "statisticalTime": "01", "statisticalData": 991, "statisticalDate": "2020.01", "createTime": 1577894400, "type": 1, "statisticalValue": "0.10" }, { "statisticalTime": "02", "statisticalData": 2176, "statisticalDate": "2020.02", "createTime": 1580486400, "type": 1, "statisticalValue": "0.22" }, { "statisticalTime": "03", "statisticalData": 4441, "statisticalDate": "2020.03", "createTime": 1582992000, "type": 1, "statisticalValue": "0.44" }, { "statisticalTime": "04", "statisticalData": 5411, "statisticalDate": "2020.04", "createTime": 1585670400, "type": 1, "statisticalValue": "0.54" }, { "statisticalTime": "05", "statisticalData": 6331, "statisticalDate": "2020.05", "createTime": 1588262400, "type": 1, "statisticalValue": "0.63" }, { "statisticalTime": "06", "statisticalData": 6822, "statisticalDate": "2020.06", "createTime": 1590940800, "type": 1, "statisticalValue": "0.68" }, { "statisticalTime": "07", "statisticalData": 8472, "statisticalDate": "2020.07", "createTime": 1593532800, "type": 1, "statisticalValue": "0.85" }, { "statisticalTime": "08", "statisticalData": 9469, "statisticalDate": "2020.08", "createTime": 1596211200, "type": 1, "statisticalValue": "0.95" }, { "statisticalTime": "09", "statisticalData": 960, "statisticalDate": "2020.09", "createTime": 1598889600, "type": 1, "statisticalValue": "0.10" } ], "message": "成功" } ```