|
|
@@ -0,0 +1,38 @@
|
|
|
+package top.haijunit.train.controller;
|
|
|
+
|
|
|
+import lombok.RequiredArgsConstructor;
|
|
|
+import org.springframework.web.bind.annotation.GetMapping;
|
|
|
+import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
+import org.springframework.web.bind.annotation.RestController;
|
|
|
+import top.haijunit.common.domain.ResultData;
|
|
|
+
|
|
|
+/**
|
|
|
+ * @author zhang
|
|
|
+ * @date 2023/11/22 22:53
|
|
|
+ * @description 设备管理
|
|
|
+ */
|
|
|
+@RestController
|
|
|
+@RequestMapping("/device")
|
|
|
+@RequiredArgsConstructor
|
|
|
+public class DeviceController {
|
|
|
+
|
|
|
+ @GetMapping("/elevator")
|
|
|
+ public ResultData<String> elevator() {
|
|
|
+ return ResultData.success("");
|
|
|
+ }
|
|
|
+
|
|
|
+ @GetMapping("/platform/door")
|
|
|
+ public ResultData<String> door() {
|
|
|
+ return ResultData.success("");
|
|
|
+ }
|
|
|
+
|
|
|
+ @GetMapping("/water")
|
|
|
+ public ResultData<String> water() {
|
|
|
+ return ResultData.success("");
|
|
|
+ }
|
|
|
+
|
|
|
+ @GetMapping("/situation")
|
|
|
+ public ResultData<String> situation() {
|
|
|
+ return ResultData.success("");
|
|
|
+ }
|
|
|
+}
|