解除暂停后,恢复主机
This commit is contained in:
parent
171cf21116
commit
30aa199a61
@ -115,6 +115,10 @@ public function cost($price = null)
|
|||||||
$this->update([
|
$this->update([
|
||||||
'status' => 'suspended',
|
'status' => 'suspended',
|
||||||
]);
|
]);
|
||||||
|
} else if ($this->status == 'suspended') {
|
||||||
|
$this->update([
|
||||||
|
'status' => 'running',
|
||||||
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user