xf %!s(int64=2) %!d(string=hai) anos
pai
achega
d5bddf8aa0

+ 1 - 1
src/Hotline.Api/Controllers/RoleController.cs

@@ -239,7 +239,7 @@ public class RoleController : BaseController
         if (entity is null)
             throw UserFriendlyException.SameMessage("无效数据");
 
-        _mapper.Map(dto, entity);
+        entity.AuthorityType = dto.AccessLevel;
         await _systemDataAuthorityRepository.UpdateAsync(entity, HttpContext.RequestAborted);
     }
 

+ 0 - 8
src/Hotline.Application/Dtos/WorkflowDefinitionDto.cs

@@ -1,8 +0,0 @@
-using Conductor.Domain.Models;
-
-namespace Hotline.Application.Dtos;
-
-public class WorkflowDefinitionDto : PreDefinition
-{
-    public bool IsPreDefinition { get; set; }
-}

+ 0 - 1
src/Hotline.Application/Hotline.Application.csproj

@@ -7,7 +7,6 @@
   </PropertyGroup>
 
   <ItemGroup>
-    <PackageReference Include="Conductor.Client" Version="1.0.9" />
     <PackageReference Include="Dapr.AspNetCore" Version="1.9.0" />
     <PackageReference Include="IdentityModel" Version="6.0.0" />
     <PackageReference Include="XF.Utility.AppIdentityModel" Version="1.0.3" />