Skip to content

Commit

Permalink
[FEATURE] 알림 테스트 기능 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
wnehgus101 committed Aug 21, 2024
1 parent 5800d5e commit 51c3bdb
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/main/java/depth/mvp/thinkerbell/TestController.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package depth.mvp.thinkerbell;

import depth.mvp.thinkerbell.domain.user.service.AlarmService;
import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.GetMapping;
Expand All @@ -12,9 +13,16 @@
@CrossOrigin("*")
public class TestController {

private final AlarmService alarmService;

@GetMapping("/test")
public String test(){
return "배포 CD 테스트";
}

@GetMapping("/alarm-test")
public void testAlarm(String ssaid, String keyword){
alarmService.updateNoticeAndMatchKeywordTest(ssaid, keyword);
}

}

0 comments on commit 51c3bdb

Please sign in to comment.