From d644f492cea0856f1f3410d77d4545c6f615c651 Mon Sep 17 00:00:00 2001 From: sunpengfei <i@angelzzz.com> Date: 星期四, 07 八月 2025 17:01:56 +0800 Subject: [PATCH] pref:深度优化 --- 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