mirror of
https://github.com/w7corp/easywechat.git
synced 2025-02-02 10:44:24 +00:00
更新文档
parent
78ecc23c62
commit
350732f6cf
14
数据统计查询服务.md
14
数据统计查询服务.md
@ -47,7 +47,19 @@ $stats = new Stats($appId, $secret);
|
|||||||
example:
|
example:
|
||||||
|
|
||||||
```php
|
```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之间的数据
|
||||||
|
// ]
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user