add clear

This commit is contained in:
as2252258@163.com
2019-07-12 18:51:12 +08:00
parent 3642cd343d
commit c4b43deb9f
5 changed files with 14 additions and 14 deletions
+2 -2
View File
@@ -155,7 +155,7 @@ abstract class Base
*/
public function push($url, $data = [], callable $callback = NULL)
{
return Http::post($url, $data, $callback);
return WxClient::post($url, $data, $callback);
}
/**
@@ -246,7 +246,7 @@ abstract class Base
*/
protected function getAccessToken()
{
$data = Http::get('https://api.weixin.qq.com/cgi-bin/token', [
$data = WxClient::get('https://api.weixin.qq.com/cgi-bin/token', [
'grant_type' => 'client_credential',
'appid' => $this->appid,
'secret' => $this->appsecret,