收藏
回答

公众号用户分析接口返回数据有误?

框架类型 问题类型 API/组件名称 终端类型 微信版本 基础库版本
小程序 Bug getusersummary / getusercumulate 工具 6.5.3 6.5.3
@Test
public void wxSummary() {
    try {
        List<WxDataCubeUserCumulate> cumulate = rpcWxAccountService.getUserCumulate("mmm", dayStart(), yesterdayEnd());
        cumulate.forEach(System.out::println);
        List<WxDataCubeUserSummary> summary = rpcWxAccountService.getUserSummary("mmm", dayStart(), yesterdayEnd());
        summary.forEach(System.out::println);
    } catch (WxErrorException e) {
        e.printStackTrace();
    }
}

{"refDate":"Oct 18, 2021 12:00:00 AM","cumulateUser":19}
{"refDate":"Oct 19, 2021 12:00:00 AM","cumulateUser":21}
{"refDate":"Oct 20, 2021 12:00:00 AM","cumulateUser":22}
{"refDate":"Oct 21, 2021 12:00:00 AM","cumulateUser":22}
{"refDate":"Oct 22, 2021 12:00:00 AM","cumulateUser":23}
{"refDate":"Oct 24, 2021 12:00:00 AM","cumulateUser":23}
{"refDate":"Oct 18, 2021 12:00:00 AM","userSource":0,"newUser":0,"cancelUser":0}
{"refDate":"Oct 19, 2021 12:00:00 AM","userSource":0,"newUser":0,"cancelUser":0}
{"refDate":"Oct 19, 2021 12:00:00 AM","userSource":1,"newUser":1,"cancelUser":0}
{"refDate":"Oct 19, 2021 12:00:00 AM","userSource":30,"newUser":1,"cancelUser":0}
{"refDate":"Oct 20, 2021 12:00:00 AM","userSource":0,"newUser":0,"cancelUser":0}
{"refDate":"Oct 20, 2021 12:00:00 AM","userSource":1,"newUser":1,"cancelUser":0}
{"refDate":"Oct 21, 2021 12:00:00 AM","userSource":0,"newUser":0,"cancelUser":0}
{"refDate":"Oct 22, 2021 12:00:00 AM","userSource":0,"newUser":0,"cancelUser":0}
{"refDate":"Oct 22, 2021 12:00:00 AM","userSource":30,"newUser":1,"cancelUser":0}
{"refDate":"Oct 23, 2021 12:00:00 AM","userSource":0,"newUser":0,"cancelUser":0}
{"refDate":"Oct 24, 2021 12:00:00 AM","userSource":0,"newUser":23,"cancelUser":0}

1. getusercumulate接口显示24号累积用户数据为23,但是getusersummary接口显示当日新增了23个用户,因此24号数据不应该是46吗?
2. getusercumulate接口为什么缺少23号的数据


回答关注问题邀请回答
收藏

1 个回答

  • 社区技术运营专员--许涛
    社区技术运营专员--许涛
    2021-10-26

    你好,麻烦现在重新试试

    2021-10-26
    有用
    回复 1
    • Z$_$
      Z$_$
      2022-09-16
      咨询一下summary某个日期有两条数据是为什么呀
      2022-09-16
      回复
登录 后发表内容