Browse Source

直播定时任务去掉无用的打印信息

tags/正式3.2.0
雍文秀 2 years ago
parent
commit
ac2ca67107
1 changed files with 0 additions and 2 deletions
  1. 0
    2
      slive/src/main/java/com/xhkjedu/slive/task/LivePlayTask.java

+ 0
- 2
slive/src/main/java/com/xhkjedu/slive/task/LivePlayTask.java View File

6
 import org.springframework.stereotype.Component;
6
 import org.springframework.stereotype.Component;
7
 
7
 
8
 import javax.annotation.Resource;
8
 import javax.annotation.Resource;
9
-import java.util.Date;
10
 
9
 
11
 /**
10
 /**
12
  * @author ywx
11
  * @author ywx
32
     @Scheduled(cron = "${cron.updateSectionState}")
31
     @Scheduled(cron = "${cron.updateSectionState}")
33
     public void updateSectionState(){
32
     public void updateSectionState(){
34
         try {
33
         try {
35
-            System.out.println(new Date());
36
             courseSectionService.updateSectionState2();
34
             courseSectionService.updateSectionState2();
37
         } catch (Exception e) {
35
         } catch (Exception e) {
38
             System.out.println("定时任务修改课节状态异常:"+e.getCause().getMessage());
36
             System.out.println("定时任务修改课节状态异常:"+e.getCause().getMessage());

Loading…
Cancel
Save