作者 李忠强

更新

... ... @@ -148,7 +148,7 @@ class User extends Api
}
$token = $this->getToken();
$param = [];
$param['code'] = '001WEdGa1d0KuC0PxPHa1Uac8F3WEdG9';
$param['code'] = $code;
$param = json_encode($param);
$wxapi = Http::post('https://api.weixin.qq.com/wxa/business/getuserphonenumber?access_token='.$token,$param);
$wxapi = json_decode($wxapi,true);
... ...