GET
GET = 'get'
Class ShakeAround.
$http : \EasyWeChat\Core\Http
Http instance.
$accessToken : \EasyWeChat\Core\AccessToken
The request token.
$device : \EasyWeChat\ShakeAround\Device
Device instance.
$group : \EasyWeChat\ShakeAround\Group
Group instance.
$page : \EasyWeChat\ShakeAround\Page
Page instance.
$material : \EasyWeChat\ShakeAround\Material
Material instance.
$relation : \EasyWeChat\ShakeAround\Relation
Relation instance.
$stats : \EasyWeChat\ShakeAround\Stats
Stats instance.
__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 |
register(string $name, string $tel, string $email, string $industryId, array $certUrls, string $reason = '') : \EasyWeChat\Support\Collection
Register shake around.
string | $name | |
string | $tel | |
string | ||
string | $industryId | |
array | $certUrls | |
string | $reason |
getStatus() : \EasyWeChat\Support\Collection
Get audit status.
getShakeInfo(string $ticket, integer $needPoi = null) : \EasyWeChat\Support\Collection
Get shake info.
string | $ticket | |
integer | $needPoi |
device() : \EasyWeChat\ShakeAround\Device
Return the device instance.
group() : \EasyWeChat\ShakeAround\Group
Return the group instance.
page() : \EasyWeChat\ShakeAround\Page
Return the page instance.
material() : \EasyWeChat\ShakeAround\Material
Return the material instance.
relation() : \EasyWeChat\ShakeAround\Relation
Return the relation instance.
stats() : \EasyWeChat\ShakeAround\Stats
Return the stats instance.