Update Host.php

This commit is contained in:
iVampireSP.com 2022-11-24 09:26:33 +08:00 committed by GitHub
parent bc27fa367c
commit faa63cbf54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -318,7 +318,7 @@ public function cost($amount = null, $auto = true): bool
// 如果太小,则重置为 0.9999
if ($real_price < 0.0001) {
$real_price = 0.9999;
$real_price = 0.0001;
}
$real_price = round($real_price ?? 0, 4);