增加 添加模块余额
This commit is contained in:
parent
d416282f8a
commit
3fed82ba49
@ -125,6 +125,7 @@ public function renew(): bool
|
|||||||
'host_id' => $this->id,
|
'host_id' => $this->id,
|
||||||
'module_id' => $this->module_id,
|
'module_id' => $this->module_id,
|
||||||
]);
|
]);
|
||||||
|
$this->module->charge($price, 'balance', '用户'.$description);
|
||||||
} catch (BalanceNotEnoughException) {
|
} catch (BalanceNotEnoughException) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user