游客转试用用户,添加积分
This commit is contained in:
@@ -576,6 +576,7 @@ public class AccountServiceImpl extends ServiceImpl<AccountMapper, Account> impl
|
|||||||
} else {
|
} else {
|
||||||
account.setValidEndTime(toDayEnd(Instant.now().plus(5, ChronoUnit.DAYS).toEpochMilli()));
|
account.setValidEndTime(toDayEnd(Instant.now().plus(5, ChronoUnit.DAYS).toEpochMilli()));
|
||||||
}
|
}
|
||||||
|
account.setCredits(BigDecimal.valueOf(100));
|
||||||
accountMapper.updateById(account);
|
accountMapper.updateById(account);
|
||||||
} else {
|
} else {
|
||||||
account.setUserName(trialOrder.getUserName());
|
account.setUserName(trialOrder.getUserName());
|
||||||
|
|||||||
Reference in New Issue
Block a user