diff --git a/src/alibaba/nacos/model/InstanceList.php b/src/alibaba/nacos/model/InstanceList.php index 61b1268..7f53225 100644 --- a/src/alibaba/nacos/model/InstanceList.php +++ b/src/alibaba/nacos/model/InstanceList.php @@ -17,6 +17,7 @@ class InstanceList extends Model protected $lastRefTime; //long protected $env; //String protected $clusters; + protected $name; /** * @return mixed @@ -165,5 +166,21 @@ public function setClusters($clusters) { $this->clusters = $clusters; } //String + + /** + * @return mixed + */ + public function getName() + { + return $this->name; + } + + /** + * @param mixed $name + */ + public function setName($name) + { + $this->name = $name; + } -} \ No newline at end of file +} diff --git a/src/alibaba/nacos/request/Request.php b/src/alibaba/nacos/request/Request.php index db8e0e2..b861033 100644 --- a/src/alibaba/nacos/request/Request.php +++ b/src/alibaba/nacos/request/Request.php @@ -35,7 +35,7 @@ abstract class Request * * @var array */ - protected $standaloneParameterList = ["uri", "verb"]; + protected $standaloneParameterList = ["uri", "verb", "standaloneParameterList"]; /** * 发起请求,做返回值异常检查 @@ -110,4 +110,4 @@ public function setUri($uri) $this->uri = $uri; } -} \ No newline at end of file +}