From 350732f6cf2ad047a6ee5f2a50b2d99b08362607 Mon Sep 17 00:00:00 2001 From: overtrue Date: Sun, 26 Apr 2015 03:30:49 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 数据统计查询服务.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/数据统计查询服务.md b/数据统计查询服务.md index 79bc633..049576e 100644 --- a/数据统计查询服务.md +++ b/数据统计查询服务.md @@ -47,7 +47,19 @@ $stats = new Stats($appId, $secret); example: ```php -$stats->userSummary('2014-12-07', '2014-12-08'); +$userSummary = $stats->userSummary('2014-12-07', '2014-12-08'); + +var_dump($userSummary); +// +//[ +// { +// "ref_date": "2014-12-07", +// "user_source": 0, +// "new_user": 0, +// "cancel_user": 0 +// } +// //后续还有ref_date在begin_date和end_date之间的数据 +// ] ```