Skip to content

Commit

Permalink
feat : 수동 업데이트 완료
Browse files Browse the repository at this point in the history
  • Loading branch information
minseok1015 committed Aug 19, 2024
1 parent 6b1f4de commit ed272bc
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import org.springframework.web.bind.annotation.RestController;
import store.itpick.backend.model.rank.CommunityType;
import store.itpick.backend.model.rank.PeriodType;
import store.itpick.backend.service.AlarmService;
import store.itpick.backend.service.DebateService;
import store.itpick.backend.util.Redis;

Expand All @@ -22,6 +23,9 @@ public class TestController {
@Autowired
private DebateService debateService;

@Autowired
private AlarmService alarmService;

@GetMapping("/*.ico")
void pathMatch() {
System.out.println("favicon.ico.");
Expand All @@ -46,7 +50,7 @@ public void totalTest() {

@GetMapping("/trend")
public void updateHotDebate(){
debateService.updateHotDebate();
alarmService.createAlarmTrend(debateService.updateHotDebate());
}

@GetMapping("/save-day-manually")
Expand Down

0 comments on commit ed272bc

Please sign in to comment.