...
|
...
|
@@ -1301,7 +1301,6 @@ if (!function_exists('getAccessToken')) { |
|
|
$secret = "643f1b6fdba08a773a7761a1a194a1ad";
|
|
|
$url = "https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=" . $appid . "&secret=" . $secret;
|
|
|
$res = json_decode(file_get_contents($url), true);
|
|
|
print_r($res);return $res;
|
|
|
|
|
|
$access_token = $res['access_token'];
|
|
|
if (!empty($access_token)) {
|
...
|
...
|
|