From c27969113a796c3a4844d6341d3a2b9cf2ac0678 Mon Sep 17 00:00:00 2001 From: DDonghyeo Date: Mon, 24 Jul 2023 01:45:46 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=A5=95Feat=20#25:=20[=EA=B3=B5=ED=86=B5]?= =?UTF-8?q?=20=EC=8B=A0=EA=B3=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../report/controller/ReportController.java | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/main/java/com/umc/DongnaeFriend/global/report/controller/ReportController.java diff --git a/src/main/java/com/umc/DongnaeFriend/global/report/controller/ReportController.java b/src/main/java/com/umc/DongnaeFriend/global/report/controller/ReportController.java new file mode 100644 index 0000000..cda1bf4 --- /dev/null +++ b/src/main/java/com/umc/DongnaeFriend/global/report/controller/ReportController.java @@ -0,0 +1,16 @@ +package com.umc.DongnaeFriend.global.report.controller; + +import org.springframework.http.HttpStatus; +import org.springframework.http.ResponseEntity; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + +@RestController +@RequestMapping("/accuse") +public class ReportController { + + public ResponseEntity reportBoard(@RequestBody int id) { + return new ResponseEntity<>(HttpStatus.OK); + } +}