TASK: 子账号积分刷新沿用上月分配的积分

BUGFIX: 获取作品详情
This commit is contained in:
2025-09-11 16:01:25 +08:00
parent e3b0d3bc0a
commit 5d8bdf9ecc
3 changed files with 26 additions and 19 deletions

View File

@@ -25,7 +25,8 @@ public class AccountTask {
* 每个月月初只刷新教育子账号的积分
*/
// @Scheduled(cron = "59 59 23 * * ?")
@Scheduled(cron = "0 0 0 1 * ?")
@Scheduled(cron = "0 15 16 * * ?")
// @Scheduled(cron = "0 0 0 1 * ?")
public void refreshCreditsMonthly() {
log.info("每月1号0点 重置教育版子账号为默认积分");
accountService.refreshCreditsMonthly();