|
|
@@ -352,6 +352,7 @@ class MpService extends BaseService
|
|
|
$cacheKey = "caches:mpApp:mp_{$this->mpAppid}:";
|
|
|
$url = sprintf($this->apiUrls['getPhoneNumber'], $token);
|
|
|
$result = httpRequest($url, json_encode(['code'=>$code],256),'post','',5);
|
|
|
+ var_dump($result);
|
|
|
$this->saveLog($cacheKey.'phone:request', ['code'=>$code,'url'=>$url,'result'=>$result,'date'=>date('Y-m-d H:i:s')]);
|
|
|
if(empty($result)){
|
|
|
$this->error = '获取用户手机号失败';
|