积分相关修改

1、BUGFIX: 用户表中的积分与积分详细中不统一;
2、To_Product_Image 添加扣除积分
3、每周刷新付费用户积分
This commit is contained in:
2024-06-26 13:55:20 +08:00
parent e614e3a07a
commit 0759452381
13 changed files with 142 additions and 130 deletions

View File

@@ -12,10 +12,10 @@ public class AccountTask {
@Resource
private AccountService accountService;
/** 每个月1号凌晨刷新 年付用户的积分 */
// @Scheduled(cron = "0 0 0 1 * ?")
/** 每周日晚上刷新 年付用户、月付用户的积分 */
// @Scheduled(cron = "59 59 23 ? * SUN")
public void refreshCreditsMonthly(){
accountService.refreshCreditsMonthly();
accountService.refreshCreditsWeekly();
}
// todo 多久执行一次?