admin
2020-05-20 98b1a0affd69bbe63223c21fdd2c404e8bedfccb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package com.yeshi.fanli.job;
 
import javax.annotation.Resource;
 
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;
 
import com.yeshi.fanli.service.inter.user.invite.ThreeSaleSerivce;
 
@Component
public class ThreeSaleJob {
 
    @Resource
    private ThreeSaleSerivce threeSaleSerivce;
 
    @Scheduled(cron = "0 0 */1 * * ? ")
    public void twentyFour() {
        // if (Constant.IS_TASK)
        // threeSaleSerivce.validateTwentyFour();
    }
 
}