获取用户增减数据API调用后同一日期返回两条数据?
发布于 6 年前 作者 dkong 5446 次浏览 来自 官方Issues

公众号“获取用户增减数据”同一日期返回两条数据,且数值不一致(如图),并且对比公众号后台数据可知每日第二条数据为用户增减数,不知道第一条数据是什么?



公众号原始ID:gh_10bfd4cf6a7f


请求地址:https://api.weixin.qq.com/datacube/getusersummary?access_token=24_RUYYrYSOUC8LwwxJgVlZkZhraR3EK6PKJd23JbAYE4HQI7X_0guktT0JtaMrhZ0NK4KIoHvnHUnXLgpYx-S5B7UeVsjclSfq4d2pPnTh4gGXvCKGA9hjBl8Ry4AE52H97uHWSi0lUFgvUxkhQKHcADAKEB


请求时间:2019-08-22 11:46:57.928


返回结果:{"list":[{"new_user":0,"cancel_user":0,"user_source":0,"ref_date":"2019-08-06"},{"new_user":5,"cancel_user":4,"user_source":1,"ref_date":"2019-08-06"},{"new_user":0,"cancel_user":0,"user_source":0,"ref_date":"2019-08-07"},{"new_user":1,"cancel_user":0,"user_source":1,"ref_date":"2019-08-07"}]}


附原始报文如下:


[2019-08-22 11:00:15.907] [http-nio-8080-exec-1] INFO  c.s.l.insurance.util.HttpClientUtil - 【请求地址】https://api.weixin.qq.com/datacube/getusersummary?access_token=24_rFu_u2AAynfzohKwegDAYqnx8ZIm9Y4P5JD4NcTtLcsBvhpZABtFA9tkAwCYduveJpCXJHmmILxxkrMQUdJFntw7UWWGh3MzHGlb5k3YbsXvLXHxKzXCM5TMPckfgho1nfOiUi4oUeZJk6VvBWZdAAAVQT

[2019-08-22 11:00:16.013] [http-nio-8080-exec-1] INFO  c.s.l.i.s.OfficialAccountUtilService - 【获取用户增减数据成功】;{"list":[{"new_user":0,"cancel_user":0,"user_source":0,"ref_date":"2019-08-06"},{"new_user":5,"cancel_user":4,"user_source":1,"ref_date":"2019-08-06"},{"new_user":0,"cancel_user":0,"user_source":0,"ref_date":"2019-08-07"},{"new_user":1,"cancel_user":0,"user_source":1,"ref_date":"2019-08-07"}]}

[2019-08-22 11:00:16.110] [http-nio-8080-exec-1] INFO  c.s.l.i.service.StatisticsService - 【本次循环时间为】["2019-08-01","2019-08-02","2019-08-03","2019-08-04","2019-08-05","2019-08-06","2019-08-07"]

回到顶部