This commit is contained in:
aozhiwei 2023-08-29 16:13:17 +08:00
parent 301e688583
commit ed2b272dc5

View File

@ -246,7 +246,7 @@ class Staking extends BaseModel {
return 1;
}
public static function getDailyInterest($stakeTime)
private static function getDailyInterest($stakeTime)
{
$months = intval($stakeTime / 3600 / 24 / 30);
if ($months <= 0) {