文档
测试

购物台top5

POST
http://datacompass.cloud.ottcn.com/wap/commonQuery/getPieChartData

请求参数

参数名
类型
描述
必填
appName
string
传ds
必填
dataIndex
string
根据指标映射传指标id 如18
必填
statType
string
日期类型 1 日 2 周 3 月 4 年
必填
dt
string
时间,和statType结合用
必填
access
string
传gw
必填
cpType
string
传sp 或zy
必填
analysisType
string
1
必填

响应参数

参数名
类型
描述
必填
code
string
状态码
必填
msg
string
状态码描述
必填
result
array
返回结果
必填
name
string
x轴
必填
value
number
y轴
必填

说明 / 示例

{ appName:'ds', dataIndex:'18', statType:'1', dt:'2021-03-31', access :'gw', cpType:'sp', analysisType:'1' } { code:'', msg:'', result:[ { name:'中视购物', value:200 }, { name:'优购物', value:200 } ] }