code: public function getOpenId()
      {
          if (!empty($this->token['openid'])) {
              return $this->token['openid'];
          }
  
          $data = $this->call('users/me');
          return !empty($data['uid']) ? $data['uid'] : null;
      }
docs: 获取当前授权应用的openid
  @return string