oauth = new DD($access_token, $refresh_token); } //获取用户信息 public function get_user_info() { $url = "https://api.dingtalk.com/v1.0/contact/users/me/"; $header['x-acs-dingtalk-access-token'] = $this->oauth->access_token; $result = https_request($url,null,null,$header); return $result; } }