/** * 获取相应用户的信息 * @param string $openId */ public function getUserInfo($openId) { $ui = new UserInfo($openId, $this->getAccessToken()); $ui->setLogger($this->getLogger()); return $ui; }