改进
This commit is contained in:
parent
9cccf1046e
commit
fb81aa0f65
@ -41,6 +41,10 @@ public function __construct(HostModel $host, $type = 'post', $pass_unavailable =
|
|||||||
*/
|
*/
|
||||||
public function handle(): void
|
public function handle(): void
|
||||||
{
|
{
|
||||||
|
if (! isset($this->host)) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
$host = $this->host;
|
$host = $this->host;
|
||||||
|
|
||||||
// 忽略 unavailable 状态的 host
|
// 忽略 unavailable 状态的 host
|
||||||
|
Loading…
Reference in New Issue
Block a user