PHP Class PFinal\Wechat\Service\BaseService

Datei anzeigen Open project: pfinal/wechat Class Usage Examples

Protected Methods

Method Description
getApi ( )
request ( $url, $data = null, $jsonEncode = true ) : array 请求微信平台服务器,并解析返回的json字符串为数组,失败抛异常

Method Details

getApi() protected static method

protected static getApi ( )

request() protected static method

请求微信平台服务器,并解析返回的json字符串为数组,失败抛异常
protected static request ( $url, $data = null, $jsonEncode = true ) : array
$url
$data
return array