解除暂停后,恢复主机

This commit is contained in:
iVampireSP.com 2022-08-30 14:36:59 +08:00
parent 171cf21116
commit 30aa199a61
No known key found for this signature in database
GPG Key ID: 2F7B001CA27A8132

View File

@ -115,6 +115,10 @@ public function cost($price = null)
$this->update([
'status' => 'suspended',
]);
} else if ($this->status == 'suspended') {
$this->update([
'status' => 'running',
]);
}
return true;