增加 添加模块余额

This commit is contained in:
iVampireSP.com 2023-02-13 15:22:22 +08:00
parent d416282f8a
commit 3fed82ba49
No known key found for this signature in database
GPG Key ID: 2F7B001CA27A8132

View File

@ -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;
}