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

Loading…
Cancel
Save