TASK:变回develop环境

This commit is contained in:
shahaibo
2024-07-09 23:44:40 +08:00
parent 83915d332f
commit a56510c35a
3 changed files with 9 additions and 9 deletions

View File

@@ -15,7 +15,7 @@ public class AccountTask {
private AccountService accountService;
/** 每周日晚上刷新 年付用户、月付用户的积分 */
@Scheduled(cron = "59 59 23 ? * SUN")
// @Scheduled(cron = "59 59 23 ? * SUN")
// @Scheduled(cron = "59 59 23 * * ?")
public void refreshCreditsMonthly(){
log.info("每周日晚115959刷新付费用户积分为 6000");
@@ -23,7 +23,7 @@ public class AccountTask {
}
// todo 多久执行一次?
@Scheduled(cron = "0 */5 * * * *") // Run every 5 minutes
// @Scheduled(cron = "0 */5 * * * *") // Run every 5 minutes
public void getPaidUser(){
// 获取code-create 表中 指定日期之后 订单状态为wc-processing的订单
accountService.extendValidityForCC();