积分相关修改
1、BUGFIX: 用户表中的积分与积分详细中不统一; 2、To_Product_Image 添加扣除积分 3、每周刷新付费用户积分
This commit is contained in:
@@ -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 多久执行一次?
|
||||
|
||||
Reference in New Issue
Block a user