public function update(int $poiId, array $baseInfo)
    {
        $params = [
            'business' => [
                'base_info' => array_merge($baseInfo, ['poi_id' => $poiId]),
            ],
        ];

        return $this->httpPostJson('cgi-bin/poi/updatepoi', $params);
    }
public function update(int $poiId, array $baseInfo)
    {
        $params = [
            'business' => [
                'base_info' => array_merge($baseInfo, ['poi_id' => $poiId]),
            ],
        ];

        return $this->httpPostJson('cgi-bin/poi/updatepoi', $params);
    }
public function update ( int $ poiId , array $ baseInfo ) { $ params = [ 'business' => [ 'base_info' => array_merge ( $ baseInfo , [ 'poi_id' => $ poiId ] ) , ] , ] ; return $ this -> httpPostJson ( 'cgi-bin/poi/updatepoi' , $ params ) ; }
Update a POI.

@param int   $poiId
@param array $baseInfo

@return \Psr\Http\Message\ResponseInterface|\EasyWeChat\Kernel\Support\Collection|array|object|string
Update a POI .