public class WxMaAnalysisServiceImpl extends Object implements WxMaAnalysisService
GET_DAILY_RETAIN_INFO_URL, GET_DAILY_SUMMARY_TREND_URL, GET_DAILY_VISIT_TREND_URL, GET_MONTHLY_RETAIN_INFO_URL, GET_MONTHLY_VISIT_TREND_URL, GET_USER_PORTRAIT_URL, GET_VISIT_DISTRIBUTION_URL, GET_VISIT_PAGE_URL, GET_WEEKLY_RETAIN_INFO_URL, GET_WEEKLY_VISIT_TREND_URL| 构造器和说明 | 
|---|
| WxMaAnalysisServiceImpl(WxMaService wxMaService) | 
| 限定符和类型 | 方法和说明 | 
|---|---|
| WxMaRetainInfo | getDailyRetainInfo(Date beginDate,
                  Date endDate)日留存
 (此接口目前只能查询一天的数据,即 beginDate 和 endDate 一样) | 
| List<WxMaSummaryTrend> | getDailySummaryTrend(Date beginDate,
                    Date endDate)查询概况趋势
 温馨提示:小程序接口目前只能查询一天的数据,即 beginDate 和 endDate 一样 | 
| List<WxMaVisitTrend> | getDailyVisitTrend(Date beginDate,
                  Date endDate)获取日访问趋势
 温馨提示:小程序接口目前只能查询一天的数据,即 beginDate 和 endDate 一样 | 
| WxMaRetainInfo | getMonthlyRetainInfo(Date beginDate,
                    Date endDate)月留存
 限定查询一个自然月的数据,时间必须按照自然月的方式输入: 如:20170201(月初), 20170228(月末) | 
| List<WxMaVisitTrend> | getMonthlyVisitTrend(Date beginDate,
                    Date endDate)获取月访问趋势
 限定查询一个自然月的数据,时间必须按照自然月的方式输入: 如:20170201(月初), 20170228(月末) | 
| WxMaUserPortrait | getUserPortrait(Date beginDate,
               Date endDate)获取小程序新增或活跃用户的画像分布数据
 时间范围支持昨天、最近7天、最近30天。 | 
| WxMaVisitDistribution | getVisitDistribution(Date beginDate,
                    Date endDate)获取访问分布
 (此接口目前只能查询一天的数据,即 beginDate 和 endDate 一样) | 
| List<WxMaVisitPage> | getVisitPage(Date beginDate,
            Date endDate)获取访问页面数据
 温馨提示:此接口目前只能查询一天的数据,即 beginDate 和 endDate 一样 | 
| WxMaRetainInfo | getWeeklyRetainInfo(Date beginDate,
                   Date endDate)周留存
 限定查询一个自然周的数据,时间必须按照自然周的方式输入: 如:20170306(周一), 20170312(周日) | 
| List<WxMaVisitTrend> | getWeeklyVisitTrend(Date beginDate,
                   Date endDate)获取周访问趋势
 限定查询一个自然周的数据,时间必须按照自然周的方式输入: 如:20170306(周一), 20170312(周日) | 
public WxMaAnalysisServiceImpl(WxMaService wxMaService)
public List<WxMaSummaryTrend> getDailySummaryTrend(Date beginDate, Date endDate) throws WxErrorException
WxMaAnalysisServicegetDailySummaryTrend 在接口中 WxMaAnalysisServicebeginDate - 开始日期endDate - 结束日期,限定查询1天数据,end_date允许设置的最大值为昨日WxErrorException - 获取失败时抛出,具体错误码请看文档public List<WxMaVisitTrend> getDailyVisitTrend(Date beginDate, Date endDate) throws WxErrorException
WxMaAnalysisServicegetDailyVisitTrend 在接口中 WxMaAnalysisServicebeginDate - 开始日期endDate - 结束日期,限定查询1天数据,end_date允许设置的最大值为昨日WxErrorException - 获取失败时抛出,具体错误码请看文档public List<WxMaVisitTrend> getWeeklyVisitTrend(Date beginDate, Date endDate) throws WxErrorException
WxMaAnalysisServicegetWeeklyVisitTrend 在接口中 WxMaAnalysisServicebeginDate - 开始日期,为周一日期endDate - 结束日期,为周日日期,限定查询一周数据WxErrorException - 获取失败时抛出,具体错误码请看文档public List<WxMaVisitTrend> getMonthlyVisitTrend(Date beginDate, Date endDate) throws WxErrorException
WxMaAnalysisServicegetMonthlyVisitTrend 在接口中 WxMaAnalysisServicebeginDate - 开始日期,为自然月第一天endDate - 结束日期,为自然月最后一天,限定查询一个月数据WxErrorException - 获取失败时抛出,具体错误码请看文档public WxMaVisitDistribution getVisitDistribution(Date beginDate, Date endDate) throws WxErrorException
WxMaAnalysisServicegetVisitDistribution 在接口中 WxMaAnalysisServicebeginDate - 开始日期,为周一日期endDate - 结束日期,限定查询1天数据,end_date允许设置的最大值为昨日WxErrorException - 获取失败时抛出,具体错误码请看文档public WxMaRetainInfo getDailyRetainInfo(Date beginDate, Date endDate) throws WxErrorException
WxMaAnalysisServicegetDailyRetainInfo 在接口中 WxMaAnalysisServicebeginDate - 开始日期,为周一日期endDate - 结束日期,限定查询 1 天数据,endDate 允许设置的最大值为昨日WxErrorException - 获取失败时抛出,具体错误码请看文档public WxMaRetainInfo getWeeklyRetainInfo(Date beginDate, Date endDate) throws WxErrorException
WxMaAnalysisServicegetWeeklyRetainInfo 在接口中 WxMaAnalysisServicebeginDate - 开始日期,为周一日期endDate - 结束日期,为周日日期,限定查询一周数据WxErrorException - 获取失败时抛出,具体错误码请看文档public WxMaRetainInfo getMonthlyRetainInfo(Date beginDate, Date endDate) throws WxErrorException
WxMaAnalysisServicegetMonthlyRetainInfo 在接口中 WxMaAnalysisServicebeginDate - 开始日期,为自然月第一天endDate - 结束日期,为自然月最后一天,限定查询一个月数据WxErrorException - 获取失败时抛出,具体错误码请看文档public List<WxMaVisitPage> getVisitPage(Date beginDate, Date endDate) throws WxErrorException
WxMaAnalysisServicegetVisitPage 在接口中 WxMaAnalysisServicebeginDate - 开始日期endDate - 结束日期,限定查询1天数据,end_date允许设置的最大值为昨日WxErrorException - 获取失败时抛出,具体错误码请看文档public WxMaUserPortrait getUserPortrait(Date beginDate, Date endDate) throws WxErrorException
WxMaAnalysisServicegetUserPortrait 在接口中 WxMaAnalysisServicebeginDate - 开始日期endDate - 结束日期,开始日期与结束日期相差的天数限定为0/6/29,分别表示查询最近1/7/30天数据,end_date允许设置的最大值为昨日WxErrorException - 获取失败时抛出,具体错误码请看文档Copyright © 2018. All rights reserved.