收藏
回答

微信公众号的数据统计接口返回的用户的增减信息可以不按照来源进行划分嘛 只统计每天的所有数据?

   **jsonObject:{"list":[{"new_user":0,"cancel_user":4,"user_source":0,"ref_date":"2021-09-21"},{"new_user":2,"cancel_user":0,"user_source":1,"ref_date":"2021-09-21"},{"new_user":5,"cancel_user":1,"user_source":30,"ref_date":"2021-09-21"},{"new_user":1,"cancel_user":9,"user_source":0,"ref_date":"2021-09-22"},{"new_user":5,"cancel_user":1,"user_source":1,"ref_date":"2021-09-22"},{"new_user":1,"cancel_user":0,"user_source":17,"ref_date":"2021-09-22"},{"new_user":20,"cancel_user":1,"user_source":30,"ref_date":"2021-09-22"},{"new_user":0,"cancel_user":4,"user_source":0,"ref_date":"2021-09-23"},{"new_user":12,"cancel_user":1,"user_source":1,"ref_date":"2021-09-23"},{"new_user":7,"cancel_user":1,"user_source":17,"ref_date":"2021-09-23"},{"new_user":56,"cancel_user":1,"user_source":30,"ref_date":"2021-09-23"},{"new_user":3,"cancel_user":6,"user_source":0,"ref_date":"2021-09-24"},{"new_user":7,"cancel_user":0,"user_source":1,"ref_date":"2021-09-24"},{"new_user":1,"cancel_user":1,"user_source":17,"ref_date":"2021-09-24"},{"new_user":68,"cancel_user":5,"user_source":30,"ref_date":"2021-09-24"},{"new_user":1,"cancel_user":9,"user_source":0,"ref_date":"2021-09-25"},{"new_user":3,"cancel_user":1,"user_source":1,"ref_date":"2021-09-25"},{"new_user":18,"cancel_user":1,"user_source":30,"ref_date":"2021-09-25"},{"new_user":1,"cancel_user":7,"user_source":0,"ref_date":"2021-09-26"},{"new_user":4,"cancel_user":1,"user_source":1,"ref_date":"2021-09-26"},{"new_user":1,"cancel_user":0,"user_source":17,"ref_date":"2021-09-26"},{"new_user":49,"cancel_user":1,"user_source":30,"ref_date":"2021-09-26"},{"new_user":1,"cancel_user":3,"user_source":0,"ref_date":"2021-09-27"},{"new_user":6,"cancel_user":0,"user_source":1,"ref_date":"2021-09-27"},{"new_user":28,"cancel_user":4,"user_source":30,"ref_date":"2021-09-27"}]}

目前按照user_source来进行划分每天的增减数据

回答关注问题邀请回答
收藏
登录 后发表内容