From bc6813b74e9a390eae2181d460c647445b7cb25a Mon Sep 17 00:00:00 2001
From: sunpengfei <i@angelzzz.com>
Date: 星期三, 06 八月 2025 11:22:18 +0800
Subject: [PATCH] feat:数据字典开发

---
 FlexJobApi.User.Application/Menus/Commands/SaveMenuButtonCommandHandler.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/FlexJobApi.User.Application/Menus/Commands/SaveMenuButtonCommandHandler.cs b/FlexJobApi.User.Application/Menus/Commands/SaveMenuButtonCommandHandler.cs
index 36e17b0..342236e 100644
--- a/FlexJobApi.User.Application/Menus/Commands/SaveMenuButtonCommandHandler.cs
+++ b/FlexJobApi.User.Application/Menus/Commands/SaveMenuButtonCommandHandler.cs
@@ -32,7 +32,7 @@
                 if (entity == null) throw Oops.Oh(EnumErrorCodeType.s404, "璇ヨ彍鍗�");
                 if (entity.ParentId != request.ParentId) throw Oops.Oh(EnumErrorCodeType.s410, "涓婄骇Id");
                 request.Adapt(entity);
-                if (await CheckExist(entity)) throw Oops.Oh(EnumErrorCodeType.s405, "鑿滃崟缂栧彿");
+                if (await CheckExist(entity)) throw Oops.Oh(EnumErrorCodeType.s406, "鑿滃崟缂栧彿");
                 await rep.UpdateAsync(entity);
                 return entity.Id;
             }

--
Gitblit v1.9.1