dev_0531
parent
872d31b31b
commit
c7024ae7b6
@ -0,0 +1,15 @@
|
|||||||
|
package com.kiisoo.ic.activity.listener;
|
||||||
|
|
||||||
|
import lombok.extern.slf4j.Slf4j;
|
||||||
|
import org.springframework.scheduling.annotation.Scheduled;
|
||||||
|
import org.springframework.stereotype.Component;
|
||||||
|
|
||||||
|
@Component
|
||||||
|
@Slf4j
|
||||||
|
public class ActivityExpireListener {
|
||||||
|
@Scheduled(cron = "0 0 0 * * ?")
|
||||||
|
public void scheduled(){
|
||||||
|
//TODO 活动实例/实例关联信息/活动码失效
|
||||||
|
log.info("执行活动失效: {}",System.currentTimeMillis());
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue