|
@@ -45,7 +45,7 @@ class WebsiteService extends AbstractServiceClient implements WebsiteServiceInte
|
|
|
*/
|
|
|
public function updateWebsite(int $id, array $data)
|
|
|
{
|
|
|
- return $this->__request(__FUNCTION__,$id, $data);
|
|
|
+ return $this->__request(__FUNCTION__,compact('id', 'data'));
|
|
|
}
|
|
|
|
|
|
/**
|
|
@@ -54,7 +54,7 @@ class WebsiteService extends AbstractServiceClient implements WebsiteServiceInte
|
|
|
*/
|
|
|
public function delWebsite(int $id)
|
|
|
{
|
|
|
- return $this->__request(__FUNCTION__,$id);
|
|
|
+ return $this->__request(__FUNCTION__,compact('id'));
|
|
|
}
|
|
|
|
|
|
/**
|
|
@@ -63,7 +63,7 @@ class WebsiteService extends AbstractServiceClient implements WebsiteServiceInte
|
|
|
*/
|
|
|
public function getWebsiteInfo(int $id)
|
|
|
{
|
|
|
- return $this->__request(__FUNCTION__,$id);
|
|
|
+ return $this->__request(__FUNCTION__,compact('id'));
|
|
|
}
|
|
|
|
|
|
/**
|
|
@@ -104,7 +104,7 @@ class WebsiteService extends AbstractServiceClient implements WebsiteServiceInte
|
|
|
*/
|
|
|
public function updateWebsiteColumn(int $id, array $data)
|
|
|
{
|
|
|
- return $this->__request(__FUNCTION__,$id, $data);
|
|
|
+ return $this->__request(__FUNCTION__,compact('id', 'data'));
|
|
|
}
|
|
|
|
|
|
/**
|
|
@@ -113,7 +113,7 @@ class WebsiteService extends AbstractServiceClient implements WebsiteServiceInte
|
|
|
*/
|
|
|
public function delWebsiteColumn(int $id)
|
|
|
{
|
|
|
- return $this->__request(__FUNCTION__,$id);
|
|
|
+ return $this->__request(__FUNCTION__,compact('id'));
|
|
|
}
|
|
|
|
|
|
/**
|
|
@@ -142,7 +142,7 @@ class WebsiteService extends AbstractServiceClient implements WebsiteServiceInte
|
|
|
*/
|
|
|
public function updateWebsiteRole(int $id, array $data)
|
|
|
{
|
|
|
- return $this->__request(__FUNCTION__,$id, $data);
|
|
|
+ return $this->__request(__FUNCTION__,compact('id', 'data'));
|
|
|
}
|
|
|
|
|
|
/**
|
|
@@ -151,7 +151,7 @@ class WebsiteService extends AbstractServiceClient implements WebsiteServiceInte
|
|
|
*/
|
|
|
public function delWebsiteRole(int $id)
|
|
|
{
|
|
|
- return $this->__request(__FUNCTION__,$id);
|
|
|
+ return $this->__request(__FUNCTION__,compact('id'));
|
|
|
}
|
|
|
/**
|
|
|
* @param string $keyword
|
|
@@ -180,7 +180,7 @@ class WebsiteService extends AbstractServiceClient implements WebsiteServiceInte
|
|
|
*/
|
|
|
public function updateWebsiteRoleUser(int $id, array $data)
|
|
|
{
|
|
|
- return $this->__request(__FUNCTION__,$id, $data);
|
|
|
+ return $this->__request(__FUNCTION__,compact('id', 'data'));
|
|
|
}
|
|
|
|
|
|
/**
|
|
@@ -189,7 +189,7 @@ class WebsiteService extends AbstractServiceClient implements WebsiteServiceInte
|
|
|
*/
|
|
|
public function delWebsiteRoleUser(int $id)
|
|
|
{
|
|
|
- return $this->__request(__FUNCTION__,$id);
|
|
|
+ return $this->__request(__FUNCTION__,compact('id'));
|
|
|
}
|
|
|
|
|
|
/**
|