src/thinkextend/oauth/driver/Kaixin.php
public function getOpenId()
    {
        if (!empty($this->token['openid'])) {
            return $this->token['openid'];
        }

        $data = $this->call('users/me');
        return !empty($data['uid']) ? $data['uid'] : null;
    }
public function getOpenId()
    {
        if (!empty($this->token['openid'])) {
            return $this->token['openid'];
        }

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