public function user(string $ticket, bool $needPoi = false)
    {
        $params = [
            'ticket' => $ticket,
        ];

        if ($needPoi) {
            $params['need_poi'] = 1;
        }

        return $this->httpPostJson('shakearound/user/getshakeinfo', $params);
    }
public function user(string $ticket, bool $needPoi = false)
    {
        $params = [
            'ticket' => $ticket,
        ];

        if ($needPoi) {
            $params['need_poi'] = 1;
        }

        return $this->httpPostJson('shakearound/user/getshakeinfo', $params);
    }
public function user ( string $ ticket , bool $ needPoi = false ) { $ params = [ 'ticket' => $ ticket , ] ; if ( $ needPoi ) { $ params [ 'need_poi' ] = 1 ; } return $ this -> httpPostJson ( 'shakearound/user/getshakeinfo' , $ params ) ; }
Get shake info.

@param string $ticket
@param bool   $needPoi

@return \Psr\Http\Message\ResponseInterface|\EasyWeChat\Kernel\Support\Collection|array|object|string
Get shake info .