$token_url = "https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid={$appid}&secret={$secret}";
$token_data = json_decode(file_get_contents($token_url), true);
$access_token = $token_data['access_token'];
$url = "https://api.weixin.qq.com/wxa/business/getuserphonenumber?access_token={$access_token}";
$post_data = json_encode(['code' => $pcode]);
$result = json_decode($this->globalHttp($url, $post_data), true);
本文共 个字数,平均阅读时长 ≈ 分钟,您已阅读:0时0分0秒。
649494848