From 177aa6f1c4601e4fb34aff04c4e328c98b489888 Mon Sep 17 00:00:00 2001 From: sunpengfei <i@angelzzz.com> Date: 星期四, 07 八月 2025 10:17:14 +0800 Subject: [PATCH] fix:bug --- FlexJobApi.Core/Models/User/Roles/Commands/DeleteRoleCommand.cs | 12 +++++++++--- 1 files changed, 9 insertions(+), 3 deletions(-) diff --git a/FlexJobApi.Core/Models/User/Roles/Commands/DeleteRoleCommand.cs b/FlexJobApi.Core/Models/User/Roles/Commands/DeleteRoleCommand.cs index 1aafd0f..2607022 100644 --- a/FlexJobApi.Core/Models/User/Roles/Commands/DeleteRoleCommand.cs +++ b/FlexJobApi.Core/Models/User/Roles/Commands/DeleteRoleCommand.cs @@ -1,12 +1,18 @@ -锘縰sing System; +锘縰sing MediatR; +using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; -namespace FlexJobApi.Core.Models.User.Roles.Commands +namespace FlexJobApi.Core { - internal class DeleteRoleCommand + /// <summary> + /// 鍒犻櫎瑙掕壊 + /// </summary> + [Resource([EnumResourceController.Role])] + public class DeleteRoleCommand : DeleteDataCommand, IRequest<int> { + } } -- Gitblit v1.9.1