GET
GET = 'get'
Class stats.
$http : \EasyWeChat\Core\Http
Http instance.
$accessToken : \EasyWeChat\Core\AccessToken
The request token.
__construct(\EasyWeChat\Core\AccessToken $accessToken)
Constructor.
\EasyWeChat\Core\AccessToken | $accessToken |
getHttp() : \EasyWeChat\Core\Http
Return the http instance.
setHttp(\EasyWeChat\Core\Http $http) : $this
Set the http instance.
\EasyWeChat\Core\Http | $http |
getAccessToken() : \EasyWeChat\Core\AccessToken
Return the current accessToken.
setAccessToken(\EasyWeChat\Core\AccessToken $accessToken) : $this
Set the request token.
\EasyWeChat\Core\AccessToken | $accessToken |
parseJSON(string $method, array $args) : \EasyWeChat\Support\Collection
Parse JSON from response and check error.
string | $method | |
array | $args |
userSummary(string $from, string $to) : \EasyWeChat\Support\Collection
获取用户增减数据.
string | $from | |
string | $to |
userCumulate(string $from, string $to) : \EasyWeChat\Support\Collection
获取累计用户数据.
string | $from | |
string | $to |
articleSummary(string $from, string $to) : \EasyWeChat\Support\Collection
获取图文群发每日数据.
string | $from | |
string | $to |
articleTotal(string $from, string $to) : \EasyWeChat\Support\Collection
获取图文群发总数据.
string | $from | |
string | $to |
userReadSummary(string $from, string $to) : \EasyWeChat\Support\Collection
获取图文统计数据.
string | $from | |
string | $to |
userReadHourly(string $from, string $to) : \EasyWeChat\Support\Collection
获取图文统计分时数据.
string | $from | |
string | $to |
userShareSummary(string $from, string $to) : \EasyWeChat\Support\Collection
获取图文分享转发数据.
string | $from | |
string | $to |
userShareHourly(string $from, string $to) : \EasyWeChat\Support\Collection
获取图文分享转发分时数据.
string | $from | |
string | $to |
upstreamMessageSummary(string $from, string $to) : \EasyWeChat\Support\Collection
获取消息发送概况数据.
string | $from | |
string | $to |
upstreamMessageHourly(string $from, string $to) : \EasyWeChat\Support\Collection
获取消息分送分时数据.
string | $from | |
string | $to |
upstreamMessageWeekly(string $from, string $to) : \EasyWeChat\Support\Collection
获取消息发送周数据.
string | $from | |
string | $to |
upstreamMessageMonthly(string $from, string $to) : \EasyWeChat\Support\Collection
获取消息发送月数据.
string | $from | |
string | $to |
upstreamMessageDistSummary(string $from, string $to) : \EasyWeChat\Support\Collection
获取消息发送分布数据.
string | $from | |
string | $to |
upstreamMessageDistWeekly(string $from, string $to) : \EasyWeChat\Support\Collection
获取消息发送分布周数据.
string | $from | |
string | $to |
upstreamMessageDistMonthly(string $from, string $to) : \EasyWeChat\Support\Collection
获取消息发送分布月数据.
string | $from | |
string | $to |
interfaceSummary(string $from, string $to) : \EasyWeChat\Support\Collection
获取接口分析数据.
string | $from | |
string | $to |
interfaceSummaryHourly(string $from, string $to) : \EasyWeChat\Support\Collection
获取接口分析分时数据.
string | $from | |
string | $to |
cardSummary(string $from, string $to, integer $condSource) : \EasyWeChat\Support\Collection
拉取卡券概况数据接口.
string | $from | |
string | $to | |
integer | $condSource |
freeCardSummary(string $from, string $to, integer $condSource, string $cardId = '') : \EasyWeChat\Support\Collection
获取免费券数据接口.
string | $from | |
string | $to | |
integer | $condSource | |
string | $cardId |
memberCardSummary(string $from, string $to, integer $condSource) : \EasyWeChat\Support\Collection
拉取会员卡数据接口.
string | $from | |
string | $to | |
integer | $condSource |
query(string $api, string $from, string $to, array $ext = array()) : \EasyWeChat\Support\Collection
查询数据.
string | $api | |
string | $from | |
string | $to | |
array | $ext |