商城资源添加折扣字段,商城vip折扣,vip过期定时任务

This commit is contained in:
2024-11-14 19:11:55 +08:00
parent e18ab6d064
commit 438eff7ba2
27 changed files with 469 additions and 326 deletions

View File

@@ -31,9 +31,9 @@ public class VipTask {
private VipTaskService vipTaskService;
/**
* 核销到期的用户贵族(保级、降级、撤销)
* 核销到期的用户贵族
*/
//@Scheduled(cron = "${scheduler.vip.checkVip-cron}")
@Scheduled(cron = "0 0/5 * * * ?")
public void checkVip() {
log.info("核销到期的用户贵族...");
vipTaskService.checkExpireVip();