|
@@ -157,7 +157,7 @@ class UserCenter extends Base
|
|
|
/* $res = curl_post('https://gaoyixia.hdlkeji.com/api/qc/index',[]);
|
|
|
var_dump($res);die();*/
|
|
|
|
|
|
- $access_token = '63_DNw9HapxDRDFCb4u2xHifONWDIn0C13Z_snpR2k1w4RYlfXVEXUTG9xhQ1OAUToaURaBzwaQw1NPjAj1KhVp-SLTdlsPVtiNX94CdQhtO5_Qp2yp3gJSkCku4asRRWcAGAAAF';
|
|
|
+ $access_token = '63_4isgw4kula9Vprs7bk_Aro08bs4jih5j3QOxGSTYuYIUzj2yAd5qzJVQ_VgKMXfs9bLdwBgKQqePaZEVF_Ft6513iypXUvhoC2ra1qC4wKY0DftHQZIEksisarsJKXhAAACDQ';
|
|
|
$code = input('code');
|
|
|
$res = curl_post("https://api.weixin.qq.com/wxa/business/getuserphonenumber?access_token={$access_token}",
|
|
|
json_encode(['access_token'=>$access_token,'code'=>$code]));
|
|
@@ -166,7 +166,7 @@ class UserCenter extends Base
|
|
|
|
|
|
public function getRid()
|
|
|
{
|
|
|
- $access_token = '63_DNw9HapxDRDFCb4u2xHifONWDIn0C13Z_snpR2k1w4RYlfXVEXUTG9xhQ1OAUToaURaBzwaQw1NPjAj1KhVp-SLTdlsPVtiNX94CdQhtO5_Qp2yp3gJSkCku4asRRWcAGAAAF';
|
|
|
+ $access_token = '63_4isgw4kula9Vprs7bk_Aro08bs4jih5j3QOxGSTYuYIUzj2yAd5qzJVQ_VgKMXfs9bLdwBgKQqePaZEVF_Ft6513iypXUvhoC2ra1qC4wKY0DftHQZIEksisarsJKXhAAACDQ';
|
|
|
$rid = input('rid');
|
|
|
$rid = curl_post("https://api.weixin.qq.com/cgi-bin/openapi/rid/get?access_token={$access_token}&",
|
|
|
json_encode(['access_token'=>$access_token,'rid'=>$rid]));
|