sunpengfei
2025-08-06 744ce126fd5dc3a0448719832d1e9667e44d30b5
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, "用户类型");