diff --git a/app/Models/Host.php b/app/Models/Host.php index 8a05de6..b994e61 100644 --- a/app/Models/Host.php +++ b/app/Models/Host.php @@ -125,6 +125,7 @@ public function renew(): bool 'host_id' => $this->id, 'module_id' => $this->module_id, ]); + $this->module->charge($price, 'balance', '用户'.$description); } catch (BalanceNotEnoughException) { return false; }