sunpengfei
2025-08-07 177aa6f1c4601e4fb34aff04c4e328c98b489888
FlexJobApi.User.Application/Menus/Commands/SaveMenuCommandHandler.cs
@@ -39,7 +39,7 @@
                    && it.Id != request.Id,
                (entity) =>
                {
                    entity.Path = DbUtils.GetTreeDataPath<DictionaryData>(request.ParentId, cancellationToken).Result;
                    entity.Path = DbUtils.GetTreeDataPath<Menu>(request.ParentId, cancellationToken).Result;
                    if (request.Id.HasValue)
                    {
                        if (entity.UserType != request.UserType) throw Oops.Oh(EnumErrorCodeType.s410, "用户类型");