feat: 完成abp-tool的接口调用

This commit is contained in:
橙子
2024-06-02 13:27:41 +08:00
parent cbc34ade78
commit bca3ce1e5f
6 changed files with 13 additions and 17 deletions

View File

@@ -6,6 +6,7 @@ using System.Text;
using System.Threading.Tasks;
using Mapster;
using Microsoft.AspNetCore.Mvc;
using Volo.Abp.Application.Services;
using Volo.Abp.DependencyInjection;
using Yi.Abp.Tool.Application.Contracts;
using Yi.Abp.Tool.Application.Contracts.Dtos;
@@ -15,7 +16,7 @@ using Yi.Framework.Core.Helper;
namespace Yi.Abp.Tool.Application
{
public class TemplateGenService : IRemoteService, ITemplateGenService, ITransientDependency
public class TemplateGenService : ApplicationService,ITemplateGenService
{
private readonly TemplateGenManager _templateGenManager;
public TemplateGenService(TemplateGenManager templateGenManager) { _templateGenManager = templateGenManager; }

View File

@@ -8,6 +8,7 @@
<ItemGroup>
<ProjectReference Include="..\Yi.Abp.Tool.Application.Contracts\Yi.Abp.Tool.Application.Contracts.csproj" />
<ProjectReference Include="..\Yi.Abp.Tool.Domain\Yi.Abp.Tool.Domain.csproj" />
<ProjectReference Include="..\..\framework\Yi.Framework.Ddd.Application\Yi.Framework.Ddd.Application.csproj" />
</ItemGroup>
</Project>