|
@@ -0,0 +1,47 @@
|
|
|
+package com.example.xiaoshiweixinback.controller;
|
|
|
+
|
|
|
+import com.example.xiaoshiweixinback.business.common.Constants;
|
|
|
+import com.example.xiaoshiweixinback.business.common.Response;
|
|
|
+import com.example.xiaoshiweixinback.entity.dto.monitoring.AddMonitoringDTO;
|
|
|
+import com.example.xiaoshiweixinback.entity.dto.monitoring.CancelMonitoringDTO;
|
|
|
+import com.example.xiaoshiweixinback.entity.dto.monitoring.MonitoringIdDTO;
|
|
|
+import com.example.xiaoshiweixinback.entity.dto.monitoring.SelectMonitoringDTO;
|
|
|
+import io.swagger.v3.oas.annotations.Operation;
|
|
|
+import lombok.RequiredArgsConstructor;
|
|
|
+import lombok.extern.slf4j.Slf4j;
|
|
|
+import org.springframework.web.bind.annotation.PostMapping;
|
|
|
+import org.springframework.web.bind.annotation.RequestBody;
|
|
|
+import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
+import org.springframework.web.bind.annotation.RestController;
|
|
|
+
|
|
|
+@Slf4j
|
|
|
+@RequestMapping(Constants.XIAOSHI_WEIXINBACK + "/monitoring")
|
|
|
+@RestController
|
|
|
+@RequiredArgsConstructor
|
|
|
+public class MonitoringController {
|
|
|
+
|
|
|
+ @Operation(summary = "添加监控")
|
|
|
+ @PostMapping("/addMonitoring")
|
|
|
+ public Response addMonitoring(@RequestBody AddMonitoringDTO monitoringDTO) {
|
|
|
+ return Response.success("");
|
|
|
+ }
|
|
|
+
|
|
|
+ @Operation(summary = "查询监控")
|
|
|
+ @PostMapping("/selectMonitoring")
|
|
|
+ public Response selectMonitoring(@RequestBody SelectMonitoringDTO monitoringDTO) {
|
|
|
+ return Response.success("");
|
|
|
+ }
|
|
|
+
|
|
|
+ @Operation(summary = "取消监控")
|
|
|
+ @PostMapping("/cancelMonitoring")
|
|
|
+ public Response cancelMonitoring(@RequestBody CancelMonitoringDTO monitoringDTO) {
|
|
|
+ return Response.success("");
|
|
|
+ }
|
|
|
+
|
|
|
+ @Operation(summary = "查询监控详情记录")
|
|
|
+ @PostMapping("/selectMonitoringRecord")
|
|
|
+ public Response selectMonitoringRecord(@RequestBody MonitoringIdDTO monitoringDTO) {
|
|
|
+ return Response.success("");
|
|
|
+ }
|
|
|
+
|
|
|
+}
|