From 1ee5a1003b4140cbd23ea9a5d38f6c99f0f77cc6 Mon Sep 17 00:00:00 2001
From: lidongdong <1459917685@qq.com>
Date: 星期日, 09 十月 2022 11:23:42 +0800
Subject: [PATCH] 修改组织机构删除

---
 flower_city/src/main/java/com/dg/core/resolvers/CurrentUserMethodArgumentResolver.java |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/flower_city/src/main/java/com/dg/core/resolvers/CurrentUserMethodArgumentResolver.java b/flower_city/src/main/java/com/dg/core/resolvers/CurrentUserMethodArgumentResolver.java
index 873f6e2..269b9f5 100644
--- a/flower_city/src/main/java/com/dg/core/resolvers/CurrentUserMethodArgumentResolver.java
+++ b/flower_city/src/main/java/com/dg/core/resolvers/CurrentUserMethodArgumentResolver.java
@@ -41,6 +41,7 @@
             //从数据库中查询并返回
             return userService.selectData(currentUserId+"");
         }
-        throw new MissingServletRequestPartException(Constant.CURRENT_USER_ID);
+        return null;
+//        throw new MissingServletRequestPartException(Constant.CURRENT_USER_ID);
     }
 }

--
Gitblit v1.7.1