Commit f084c503 authored by zhongshangwu's avatar zhongshangwu

推送统计增加新版接口

parent 98fa1cb8
......@@ -41,6 +41,13 @@ class Report(object):
messages = self.send("GET", url, params = params)
return messages
def get_messages_detail(self, msg_ids, version="new"):
url = common.get_url('report', self.zone) + 'messages/detail'
params = { 'msg_ids': msg_ids }
messages = self.send("GET", url, params = params)
return messages
def get_users(self, time_unit,start,duration):
url = common.get_url('report', self.zone) + 'users'
params = {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment