This commit is contained in:
aozhiwei 2023-08-30 15:30:22 +08:00
parent a2eb258d18
commit 6e179337e0

View File

@ -282,7 +282,7 @@ class Staking extends BaseModel {
if ($dto['remain_days'] <= 0 ) {
$dto['cec_rewards'] = $dto['daily_rewards'] * $stakedDays;
if ($saveDays >= 30 * 12 * 2) {
$dto['cec_rewards'] = $dto['cec_value'] * 2;
$dto['cec_rewards'] = $dto['cec_value'] * 1;
}
} else {
if ($saveDays >= 30 * 12 * 2) {