From 0b49fee10340ea40a6762da657239675d3db22f6 Mon Sep 17 00:00:00 2001 From: sunpengfei <i@angelzzz.com> Date: 星期四, 07 八月 2025 09:41:31 +0800 Subject: [PATCH] feat:权限和请求日志 --- FlexJobApi.Core/Models/User/Menus/Commands/SaveMenuCommand.cs | 11 +++-------- 1 files changed, 3 insertions(+), 8 deletions(-) diff --git a/FlexJobApi.Core/Models/User/Menus/Commands/SaveMenuCommand.cs b/FlexJobApi.Core/Models/User/Menus/Commands/SaveMenuCommand.cs index b9fc1dc..8322094 100644 --- a/FlexJobApi.Core/Models/User/Menus/Commands/SaveMenuCommand.cs +++ b/FlexJobApi.Core/Models/User/Menus/Commands/SaveMenuCommand.cs @@ -1,5 +1,4 @@ -锘縰sing FlexJobApi.Core.Models; -using MediatR; +锘縰sing MediatR; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; @@ -12,17 +11,13 @@ /// <summary> /// 淇濆瓨鑿滃崟 /// </summary> - public class SaveMenuCommand : IRequest<Guid> + [Resource([EnumResourceController.Menu])] + public class SaveMenuCommand : SaveDataCommand { public SaveMenuCommand() { Groups = []; } - - /// <summary> - /// Id - /// </summary> - public Guid? Id { get; set; } /// <summary> /// 鐢ㄦ埛绫诲瀷 -- Gitblit v1.9.1