GET
GET = 'get'
Class Notice.
$http : \EasyWeChat\Core\Http
Http instance.
$accessToken : \EasyWeChat\Core\AccessToken
The request token.
__construct(\EasyWeChat\Core\AccessToken $accessToken)
Notice 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 |
| null
setIndustry(integer $industryOne, integer $industryTwo) : \EasyWeChat\Support\Collection
Set industry.
integer | $industryOne | |
integer | $industryTwo |
getIndustry() : \EasyWeChat\Support\Collection
Get industry.
addTemplate(string $shortId) : \EasyWeChat\Support\Collection
Add a template and get template ID.
string | $shortId |
getPrivateTemplates() : \EasyWeChat\Support\Collection
Get private templates.
deletePrivateTemplate(string $templateId) : \EasyWeChat\Support\Collection
Delete private template.
string | $templateId |
send( $data = array()) : \EasyWeChat\Support\Collection
Send a notice message.
$data |
__call(string $method, array $args) : \EasyWeChat\Notice\Notice
Magic access.
.
string | $method | |
array | $args |