public class DataProxy extends MPlatformProxy
Description:
tokenManagerweixinRequestClient| 构造器和说明 |
|---|
DataProxy(TokenManager tokenManager) |
| 限定符和类型 | 方法和说明 |
|---|---|
List<?> |
datacube(DatacubeType datacubeType,
Date date)
查询日期跨度为0的统计数据(当天)
|
List<?> |
datacube(DatacubeType datacubeType,
Date beginDate,
Date endDate)
数据统计
|
List<?> |
datacube(DatacubeType datacubeType,
Date beginDate,
int offset)
数据统计
|
List<?> |
datacube(DatacubeType datacubeType,
int offset,
Date endDate)
数据统计
|
getTokenManagerpublic DataProxy(TokenManager tokenManager)
public List<?> datacube(DatacubeType datacubeType, Date beginDate, int offset) throws WeixinException
datacubeType - 统计类型beginDate - 开始日期offset - 增量 表示向前几天 比如 offset=1 则查询 beginDate的后一天之间的数据WeixinExceptionpublic List<?> datacube(DatacubeType datacubeType, int offset, Date endDate) throws WeixinException
datacubeType - 统计类型offset - 增量 表示向后几天 比如 offset=1 则查询 beginDate的前一天之间的数据endDate - 截至日期WeixinExceptionpublic List<?> datacube(DatacubeType datacubeType, Date date) throws WeixinException
datacubeType - 统计类型date - 统计日期WeixinExceptionpublic List<?> datacube(DatacubeType datacubeType, Date beginDate, Date endDate) throws WeixinException
datacubeType - 数据统计类型beginDate - 获取数据的起始日期,begin_date和end_date的差值需小于“最大时间跨度”(比如最大时间跨度为1时,
begin_date和end_date的差值只能为0,才能小于1),否则会报错endDate - 获取数据的结束日期,end_date允许设置的最大值为昨日WeixinExceptionUserSummary,
ArticleSummary,
ArticleTotal,
ArticleDatacubeShare,
UpstreamMessage,
UpstreamMessageDist,
InterfaceSummary,
用户分析,
图文分析,
消息分析,
接口分析Copyright © 2020. All rights reserved.