doRequest()
doRequest(string $method, string $pathinfo, string $jsondata = '', boolean $verify = false) : array
模拟发起请求
Parameters
| string |
$method |
请求访问 |
| string |
$pathinfo |
请求路由 |
| string |
$jsondata |
请求数据 |
| boolean |
$verify |
是否验证 |
Throws
- \WeChat\Exceptions\InvalidResponseException
Returns
array