游客转试用用户,添加积分

This commit is contained in:
2024-10-29 10:25:36 +08:00
parent c9bb7fe502
commit 4add0a806c

View File

@@ -576,6 +576,7 @@ public class AccountServiceImpl extends ServiceImpl<AccountMapper, Account> impl
} else {
account.setValidEndTime(toDayEnd(Instant.now().plus(5, ChronoUnit.DAYS).toEpochMilli()));
}
account.setCredits(BigDecimal.valueOf(100));
accountMapper.updateById(account);
} else {
account.setUserName(trialOrder.getUserName());