From 7d16276acfcdf8ccf454b6c8d9b4e5dc6308d4a7 Mon Sep 17 00:00:00 2001 From: gdlcf88 Date: Sat, 13 Jul 2024 02:21:26 +0800 Subject: [PATCH] Add `CreateGroupKeyAsync` in UserIdUserGroupContributor --- common.props | 2 +- .../ProcessManagement/UserGroups/UserIdUserGroupContributor.cs | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/common.props b/common.props index 9fce058..3fecb17 100644 --- a/common.props +++ b/common.props @@ -1,7 +1,7 @@ latest - 1.0.0-preview.11 + 1.0.0-preview.12 $(NoWarn);CS1591;CS0436 module true diff --git a/src/EasyAbp.ProcessManagement.Domain/EasyAbp/ProcessManagement/UserGroups/UserIdUserGroupContributor.cs b/src/EasyAbp.ProcessManagement.Domain/EasyAbp/ProcessManagement/UserGroups/UserIdUserGroupContributor.cs index b2a2ef5..d82773a 100644 --- a/src/EasyAbp.ProcessManagement.Domain/EasyAbp/ProcessManagement/UserGroups/UserIdUserGroupContributor.cs +++ b/src/EasyAbp.ProcessManagement.Domain/EasyAbp/ProcessManagement/UserGroups/UserIdUserGroupContributor.cs @@ -25,4 +25,6 @@ public virtual async Task HandleEventAsync(EntityCreatedEto eventData) { await UpdateAsync(eventData.Entity.Id); } + + public virtual Task CreateGroupKeyAsync(Guid userId) => CreateGroupKeyAsync(userId.ToString()); } \ No newline at end of file