wesmiler 3 小時之前
父節點
當前提交
23bb5595a0
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      app/Services/MpService.php

+ 1 - 0
app/Services/MpService.php

@@ -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 = '获取用户手机号失败';