This commit is contained in:
aozhiwei 2023-08-25 19:25:19 +08:00
parent bb0656a293
commit 4cdd05ba2d

View File

@ -172,6 +172,7 @@ class Staking extends BaseModel {
}
$stakingValue = $stakingMeta['stake_value'];
$realValue = $stakingValue / self::getCecPrice();
$dailyInterest = self::getDailyInterest($row['stake_time']);
if ($row['stake_time'] >= 3600 * 24 * 30 * 12 * 2) {
} else if ($row['stake_time'] <= 3600 * 24 * 30 * 12 * 1) {