File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
src/main/java/store/itpick/backend/controller Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 6
6
import org .springframework .web .bind .annotation .RestController ;
7
7
import store .itpick .backend .model .rank .CommunityType ;
8
8
import store .itpick .backend .model .rank .PeriodType ;
9
+ import store .itpick .backend .service .AlarmService ;
9
10
import store .itpick .backend .service .DebateService ;
10
11
import store .itpick .backend .util .Redis ;
11
12
@@ -22,6 +23,9 @@ public class TestController {
22
23
@ Autowired
23
24
private DebateService debateService ;
24
25
26
+ @ Autowired
27
+ private AlarmService alarmService ;
28
+
25
29
@ GetMapping ("/*.ico" )
26
30
void pathMatch () {
27
31
System .out .println ("favicon.ico." );
@@ -46,7 +50,7 @@ public void totalTest() {
46
50
47
51
@ GetMapping ("/trend" )
48
52
public void updateHotDebate (){
49
- debateService .updateHotDebate ();
53
+ alarmService . createAlarmTrend ( debateService .updateHotDebate () );
50
54
}
51
55
52
56
@ GetMapping ("/save-day-manually" )
You can’t perform that action at this time.
0 commit comments