商城资源添加折扣字段,商城vip折扣,vip过期定时任务
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user