This commit is contained in:
2018-07-19 12:11:31 +08:00
parent 0e96d49e0e
commit 837f6285f8
+1 -2
View File
@@ -224,11 +224,10 @@ abstract class Base
} }
/** /**
* @param $openId
* @return bool|mixed|string * @return bool|mixed|string
* @throws \Exception * @throws \Exception
*/ */
protected function getAccessToken($openId) protected function getAccessToken()
{ {
$data = http::get('https://api.weixin.qq.com/cgi-bin/token', [ $data = http::get('https://api.weixin.qq.com/cgi-bin/token', [
'grant_type' => 'client_credential', 'grant_type' => 'client_credential',