Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 18 additions & 1 deletion src/alibaba/nacos/model/InstanceList.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ class InstanceList extends Model
protected $lastRefTime; //long
protected $env; //String
protected $clusters;
protected $name;

/**
* @return mixed
Expand Down Expand Up @@ -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;
}

}
}
4 changes: 2 additions & 2 deletions src/alibaba/nacos/request/Request.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ abstract class Request
*
* @var array
*/
protected $standaloneParameterList = ["uri", "verb"];
protected $standaloneParameterList = ["uri", "verb", "standaloneParameterList"];

/**
* 发起请求,做返回值异常检查
Expand Down Expand Up @@ -110,4 +110,4 @@ public function setUri($uri)
$this->uri = $uri;
}

}
}