From 433609b785d7ccecfc18206d7e258a768a908d7e Mon Sep 17 00:00:00 2001
From: zhangc <zc@123>
Date: 星期四, 09 一月 2025 16:03:35 +0800
Subject: [PATCH] 空校验;提高代码的健壮性

---
 src/main/java/com/zy/asrs/controller/MapController.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/main/java/com/zy/asrs/controller/MapController.java b/src/main/java/com/zy/asrs/controller/MapController.java
index c3d6517..653bd64 100644
--- a/src/main/java/com/zy/asrs/controller/MapController.java
+++ b/src/main/java/com/zy/asrs/controller/MapController.java
@@ -208,7 +208,7 @@
     public R resetMap(@PathVariable("lev") Integer lev) {
         Object o = redisUtil.get("realtimeBasMap_" + lev);
         if (o == null) {
-            return R.error();
+            return R.error("鍙傛暟缂哄け");
         }
         redisUtil.del("realtimeBasMap_" + lev);
         basMapService.deleteByLev(lev);

--
Gitblit v1.9.1