ZQN
2024-06-17 b1ff19545212508d3f65741ab889f0b6df82a511
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
package com.project.quartz.task;
 
import com.project.common.utils.DateUtils;
import com.project.common.utils.WeChatUtils;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
 
 
/**
 * 定时任务调度测试
 *
 * @author project
 */
@Component("projectTask")
@Slf4j
@RequiredArgsConstructor(onConstructor_ = @Autowired)
public class ProjectTask
{
 
 
    public void refreshWxAccessToken()
    {
        WeChatUtils.refreshAccessToken();
        log.info(DateUtils.getTime() + "刷新access_token");
    }
 
 
//    //每天处理灵玉返还
//    public void executeIntegralToMoney()
//    {
//        log.info(DateUtils.getTime()+"_处理灵玉返还到余额");
//        walletService.executeIntegralToMoney();
//    }
//
//
//    //每天处理投资返还
//    public void executeInvestorToMoney()
//    {
//        log.info(DateUtils.getTime()+"_处理投资返还到余额");
//        walletService.executeInvestorToMoney();
//    }
//
//    //每天处理7天自动收货
//    public void executeAutoReciver()
//    {
//        log.info(DateUtils.getTime()+"_处理自动收货");
//        orderDataService.autoReciverSend();
//    }
 
 
}