From d9505e143cdf452c3a33752b380ee1b3a410601d Mon Sep 17 00:00:00 2001
From: Junjie <xjj@123>
Date: 星期四, 16 十月 2025 14:48:52 +0800
Subject: [PATCH] #
---
src/main/java/com/zy/asrs/controller/OpenController.java | 76 +++-----------------------------------
1 files changed, 6 insertions(+), 70 deletions(-)
diff --git a/src/main/java/com/zy/asrs/controller/OpenController.java b/src/main/java/com/zy/asrs/controller/OpenController.java
index fd3e4f6..77fd9cb 100644
--- a/src/main/java/com/zy/asrs/controller/OpenController.java
+++ b/src/main/java/com/zy/asrs/controller/OpenController.java
@@ -234,7 +234,7 @@
}
@RequestMapping("/deviceStatus")
- @OpenApiLog(memo = "鑾峰彇璁惧鐘舵��")
+// @OpenApiLog(memo = "鑾峰彇璁惧鐘舵��")
public R getDeviceStatus() {
HashMap<String, Object> map = new HashMap<>();
//鑾峰彇灏忚溅鏁版嵁
@@ -292,28 +292,10 @@
map.put("forkLift", forkLiftProtocols);
map.put("lift", liftProtocols);
- apiLogService.insert(new ApiLog(
- null
- , "鑾峰彇璁惧鐘舵��"
- , "/deviceStatus"
- , null
- , null
- , null
- , null
- , JSON.toJSONString(map)
- , null
- , null
- , 1
- , new Date()
- , null
- , null
- ));
-
return R.ok().add(map);
}
@RequestMapping("/liftDeviceOriginData")
- @OpenApiLog(memo = "鑾峰彇鎻愬崌鏈哄師濮嬫暟鎹�")
public R getLiftDeviceOriginData() {
HashMap<Integer, String> map = new HashMap<>();
@@ -328,23 +310,6 @@
map.put(device.getDeviceNo(), liftThread.getRealtimeOriginData());
}
-
- apiLogService.insert(new ApiLog(
- null
- , "鑾峰彇鎻愬崌鏈哄師濮嬫暟鎹�"
- , "/liftDeviceOriginData"
- , null
- , null
- , null
- , null
- , JSON.toJSONString(map)
- , null
- , null
- , 1
- , new Date()
- , null
- , null
- ));
return R.ok().add(map);
}
@@ -364,23 +329,6 @@
map.put("locNo", locMast.getLocNo());
map.put("locSts", locMast.getLocSts());
- apiLogService.insert(new ApiLog(
- null
- , "鑾峰彇鎸囧畾搴撲綅淇℃伅"
- , "/getLocInformation"
- , null
- , null
- , null
- , JSON.toJSONString(param)
- , JSON.toJSONString(map)
- , null
- , null
- , 1
- , new Date()
- , null
- , null
- ));
-
return R.ok().add(map);
}
@@ -399,23 +347,6 @@
map.put("locSts", locMast.getLocSts());
list.add(map);
}
-
- apiLogService.insert(new ApiLog(
- null
- , "鑾峰彇鍏ㄩ儴搴撲綅淇℃伅"
- , "/getAllLocInformation"
- , null
- , null
- , null
- , null
- , JSON.toJSONString(list)
- , null
- , null
- , 1
- , new Date()
- , null
- , null
- ));
return R.ok().add(list);
}
@@ -506,6 +437,11 @@
return R.ok().add(wrkMasts);
}
+ @GetMapping("/systemStatus")
+ public R systemStatus() {
+ return R.ok();
+ }
+
@GetMapping("/test")
public R test() {
notifyUtils.notify("task", 1, "9999", "W9999", NotifyMsgType.SHUTTLE_MOVING, "data");
--
Gitblit v1.9.1