Browse Source

feat: 添加文本模块

example
Hanpaopao 2 years ago
parent
commit
e513135725
  1. 22
      aspnet-core/Directory.Build.Lion.targets
  2. 4
      aspnet-core/services/src/Lion.AbpPro.Application.Contracts/AbpProApplicationContractsModule.cs
  3. 1
      aspnet-core/services/src/Lion.AbpPro.Application.Contracts/Lion.AbpPro.Application.Contracts.csproj
  4. 2
      aspnet-core/services/src/Lion.AbpPro.Application/AbpProApplicationModule.cs
  5. 1
      aspnet-core/services/src/Lion.AbpPro.Application/Lion.AbpPro.Application.csproj
  6. 4
      aspnet-core/services/src/Lion.AbpPro.Domain.Shared/AbpProDomainSharedModule.cs
  7. 1
      aspnet-core/services/src/Lion.AbpPro.Domain.Shared/Lion.AbpPro.Domain.Shared.csproj
  8. 4
      aspnet-core/services/src/Lion.AbpPro.Domain/AbpProDomainModule.cs
  9. 1
      aspnet-core/services/src/Lion.AbpPro.Domain/Lion.AbpPro.Domain.csproj
  10. 10
      aspnet-core/services/src/Lion.AbpPro.EntityFrameworkCore/EntityFrameworkCore/AbpProDbContext.cs
  11. 4
      aspnet-core/services/src/Lion.AbpPro.EntityFrameworkCore/EntityFrameworkCore/AbpProEntityFrameworkCoreModule.cs
  12. 1
      aspnet-core/services/src/Lion.AbpPro.EntityFrameworkCore/Lion.AbpPro.EntityFrameworkCore.csproj
  13. 2859
      aspnet-core/services/src/Lion.AbpPro.EntityFrameworkCore/Migrations/20241221154541_1.0.3.Designer.cs
  14. 59
      aspnet-core/services/src/Lion.AbpPro.EntityFrameworkCore/Migrations/20241221154541_1.0.3.cs
  15. 82
      aspnet-core/services/src/Lion.AbpPro.EntityFrameworkCore/Migrations/AbpProDbContextModelSnapshot.cs
  16. 4
      aspnet-core/services/src/Lion.AbpPro.HttpApi.Client/AbpProHttpApiClientModule.cs
  17. 1
      aspnet-core/services/src/Lion.AbpPro.HttpApi.Client/Lion.AbpPro.HttpApi.Client.csproj
  18. 4
      aspnet-core/services/src/Lion.AbpPro.HttpApi/AbpProHttpApiModule.cs
  19. 1
      aspnet-core/services/src/Lion.AbpPro.HttpApi/Lion.AbpPro.HttpApi.csproj

22
aspnet-core/Directory.Build.Lion.targets

@ -1,11 +1,19 @@
<Project> <Project>
<ItemGroup> <ItemGroup>
<PackageReference Update="Lion.AbpPro.CodeManagement.Domain" Version="1.1.9"/> <PackageReference Update="Lion.AbpPro.CodeManagement.Domain" Version="1.2.2"/>
<PackageReference Update="Lion.AbpPro.CodeManagement.Domain.Shared" Version="1.1.9"/> <PackageReference Update="Lion.AbpPro.CodeManagement.Domain.Shared" Version="1.2.2"/>
<PackageReference Update="Lion.AbpPro.CodeManagement.Application.Contracts" Version="1.1.9"/> <PackageReference Update="Lion.AbpPro.CodeManagement.Application.Contracts" Version="1.2.2"/>
<PackageReference Update="Lion.AbpPro.CodeManagement.Application" Version="1.1.9"/> <PackageReference Update="Lion.AbpPro.CodeManagement.Application" Version="1.2.2"/>
<PackageReference Update="Lion.AbpPro.CodeManagement.HttpApi" Version="1.1.9"/> <PackageReference Update="Lion.AbpPro.CodeManagement.HttpApi" Version="1.2.2"/>
<PackageReference Update="Lion.AbpPro.CodeManagement.HttpApi.Client" Version="1.1.9"/> <PackageReference Update="Lion.AbpPro.CodeManagement.HttpApi.Client" Version="1.2.2"/>
<PackageReference Update="Lion.AbpPro.CodeManagement.EntityFrameworkCore" Version="1.1.9"/> <PackageReference Update="Lion.AbpPro.CodeManagement.EntityFrameworkCore" Version="1.2.2"/>
<PackageReference Update="Lion.AbpPro.TemplateManagement.Domain" Version="1.2.2"/>
<PackageReference Update="Lion.AbpPro.TemplateManagement.Domain.Shared" Version="1.2.2"/>
<PackageReference Update="Lion.AbpPro.TemplateManagement.Application.Contracts" Version="1.2.2"/>
<PackageReference Update="Lion.AbpPro.TemplateManagement.Application" Version="1.2.2"/>
<PackageReference Update="Lion.AbpPro.TemplateManagement.HttpApi" Version="1.2.2"/>
<PackageReference Update="Lion.AbpPro.TemplateManagement.HttpApi.Client" Version="1.2.2"/>
<PackageReference Update="Lion.AbpPro.TemplateManagement.EntityFrameworkCore" Version="1.2.2"/>
</ItemGroup> </ItemGroup>
</Project> </Project>

4
aspnet-core/services/src/Lion.AbpPro.Application.Contracts/AbpProApplicationContractsModule.cs

@ -1,4 +1,5 @@
using Lion.AbpPro.CodeManagement; using Lion.AbpPro.CodeManagement;
using Lion.AbpPro.TemplateManagement;
namespace Lion.AbpPro namespace Lion.AbpPro
{ {
@ -9,7 +10,8 @@ namespace Lion.AbpPro
typeof(DataDictionaryManagementApplicationContractsModule), typeof(DataDictionaryManagementApplicationContractsModule),
typeof(LanguageManagementApplicationContractsModule), typeof(LanguageManagementApplicationContractsModule),
typeof(NotificationManagementApplicationContractsModule), typeof(NotificationManagementApplicationContractsModule),
typeof(CodeManagementApplicationContractsModule) typeof(CodeManagementApplicationContractsModule),
typeof(TemplateManagementApplicationContractsModule)
)] )]
public class AbpProApplicationContractsModule : AbpModule public class AbpProApplicationContractsModule : AbpModule
{ {

1
aspnet-core/services/src/Lion.AbpPro.Application.Contracts/Lion.AbpPro.Application.Contracts.csproj

@ -15,6 +15,7 @@
<ItemGroup> <ItemGroup>
<PackageReference Include="Volo.Abp.ObjectExtending" /> <PackageReference Include="Volo.Abp.ObjectExtending" />
<PackageReference Include="Lion.AbpPro.CodeManagement.Application.Contracts" /> <PackageReference Include="Lion.AbpPro.CodeManagement.Application.Contracts" />
<PackageReference Include="Lion.AbpPro.TemplateManagement.Application.Contracts" />
</ItemGroup> </ItemGroup>

2
aspnet-core/services/src/Lion.AbpPro.Application/AbpProApplicationModule.cs

@ -1,4 +1,5 @@
using Lion.AbpPro.CodeManagement; using Lion.AbpPro.CodeManagement;
using Lion.AbpPro.TemplateManagement;
namespace Lion.AbpPro namespace Lion.AbpPro
{ {
@ -11,6 +12,7 @@ namespace Lion.AbpPro
typeof(LanguageManagementApplicationModule), typeof(LanguageManagementApplicationModule),
typeof(NotificationManagementApplicationModule), typeof(NotificationManagementApplicationModule),
typeof(CodeManagementApplicationModule), typeof(CodeManagementApplicationModule),
typeof(TemplateManagementApplicationModule),
typeof(AbpProFreeSqlModule) typeof(AbpProFreeSqlModule)
)] )]
public class AbpProApplicationModule : AbpModule public class AbpProApplicationModule : AbpModule

1
aspnet-core/services/src/Lion.AbpPro.Application/Lion.AbpPro.Application.csproj

@ -17,6 +17,7 @@
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="Lion.AbpPro.CodeManagement.Application" /> <PackageReference Include="Lion.AbpPro.CodeManagement.Application" />
<PackageReference Include="Lion.AbpPro.TemplateManagement.Application" />
</ItemGroup> </ItemGroup>
</Project> </Project>

4
aspnet-core/services/src/Lion.AbpPro.Domain.Shared/AbpProDomainSharedModule.cs

@ -4,6 +4,7 @@ using Lion.AbpPro.CodeManagement;
using Lion.AbpPro.Core; using Lion.AbpPro.Core;
using Lion.AbpPro.LanguageManagement; using Lion.AbpPro.LanguageManagement;
using Lion.AbpPro.Localization; using Lion.AbpPro.Localization;
using Lion.AbpPro.TemplateManagement;
namespace Lion.AbpPro namespace Lion.AbpPro
{ {
@ -13,7 +14,8 @@ namespace Lion.AbpPro
typeof(DataDictionaryManagementDomainSharedModule), typeof(DataDictionaryManagementDomainSharedModule),
typeof(NotificationManagementDomainSharedModule), typeof(NotificationManagementDomainSharedModule),
typeof(LanguageManagementDomainSharedModule), typeof(LanguageManagementDomainSharedModule),
typeof(CodeManagementDomainSharedModule) typeof(CodeManagementDomainSharedModule),
typeof(TemplateManagementDomainSharedModule)
)] )]
public class AbpProDomainSharedModule : AbpModule public class AbpProDomainSharedModule : AbpModule
{ {

1
aspnet-core/services/src/Lion.AbpPro.Domain.Shared/Lion.AbpPro.Domain.Shared.csproj

@ -14,6 +14,7 @@
<ItemGroup> <ItemGroup>
<PackageReference Include="Lion.AbpPro.CodeManagement.Domain.Shared"/> <PackageReference Include="Lion.AbpPro.CodeManagement.Domain.Shared"/>
<PackageReference Include="Lion.AbpPro.TemplateManagement.Domain.Shared"/>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>

4
aspnet-core/services/src/Lion.AbpPro.Domain/AbpProDomainModule.cs

@ -1,4 +1,5 @@
using Lion.AbpPro.CodeManagement; using Lion.AbpPro.CodeManagement;
using Lion.AbpPro.TemplateManagement;
namespace Lion.AbpPro namespace Lion.AbpPro
{ {
@ -9,7 +10,8 @@ namespace Lion.AbpPro
typeof(DataDictionaryManagementDomainModule), typeof(DataDictionaryManagementDomainModule),
typeof(NotificationManagementDomainModule), typeof(NotificationManagementDomainModule),
typeof(LanguageManagementDomainModule), typeof(LanguageManagementDomainModule),
typeof(CodeManagementDomainModule) typeof(CodeManagementDomainModule),
typeof(TemplateManagementDomainModule)
)] )]
public class AbpProDomainModule : AbpModule public class AbpProDomainModule : AbpModule
{ {

1
aspnet-core/services/src/Lion.AbpPro.Domain/Lion.AbpPro.Domain.csproj

@ -18,6 +18,7 @@
<ItemGroup> <ItemGroup>
<PackageReference Include="Volo.Abp.Emailing" /> <PackageReference Include="Volo.Abp.Emailing" />
<PackageReference Include="Lion.AbpPro.CodeManagement.Domain"/> <PackageReference Include="Lion.AbpPro.CodeManagement.Domain"/>
<PackageReference Include="Lion.AbpPro.TemplateManagement.Domain"/>
</ItemGroup> </ItemGroup>

10
aspnet-core/services/src/Lion.AbpPro.EntityFrameworkCore/EntityFrameworkCore/AbpProDbContext.cs

@ -10,6 +10,8 @@ using Lion.AbpPro.LanguageManagement.EntityFrameworkCore;
using Lion.AbpPro.LanguageManagement.Languages.Aggregates; using Lion.AbpPro.LanguageManagement.Languages.Aggregates;
using Lion.AbpPro.LanguageManagement.LanguageTexts.Aggregates; using Lion.AbpPro.LanguageManagement.LanguageTexts.Aggregates;
using Lion.AbpPro.NotificationManagement.Notifications.Aggregates; using Lion.AbpPro.NotificationManagement.Notifications.Aggregates;
using Lion.AbpPro.TemplateManagement.EntityFrameworkCore;
using Lion.AbpPro.TemplateManagement.TextTemplates;
namespace Lion.AbpPro.EntityFrameworkCore namespace Lion.AbpPro.EntityFrameworkCore
{ {
@ -28,7 +30,8 @@ namespace Lion.AbpPro.EntityFrameworkCore
INotificationManagementDbContext, INotificationManagementDbContext,
IDataDictionaryManagementDbContext, IDataDictionaryManagementDbContext,
ILanguageManagementDbContext, ILanguageManagementDbContext,
ICodeManagementDbContext ICodeManagementDbContext,
ITemplateManagementDbContext
{ {
public DbSet<IdentityUser> Users { get; set; } public DbSet<IdentityUser> Users { get; set; }
public DbSet<IdentityRole> Roles { get; set; } public DbSet<IdentityRole> Roles { get; set; }
@ -62,6 +65,7 @@ namespace Lion.AbpPro.EntityFrameworkCore
public DbSet<EntityModel> EntityModels { get; set; } public DbSet<EntityModel> EntityModels { get; set; }
public DbSet<DataType> DataTypes { get; set; } public DbSet<DataType> DataTypes { get; set; }
public DbSet<EnumType> EnumTypes { get; set; } public DbSet<EnumType> EnumTypes { get; set; }
public DbSet<TextTemplate> TextTemplates { get; set; }
public DbSet<Book> Books { get; set; } public DbSet<Book> Books { get; set; }
@ -100,9 +104,11 @@ namespace Lion.AbpPro.EntityFrameworkCore
// code management // code management
builder.ConfigureCodeManagement(); builder.ConfigureCodeManagement();
builder.ConfigureTemplateManagement();
} }
} }
} }

4
aspnet-core/services/src/Lion.AbpPro.EntityFrameworkCore/EntityFrameworkCore/AbpProEntityFrameworkCoreModule.cs

@ -1,5 +1,6 @@
using Lion.AbpPro.CodeManagement.EntityFrameworkCore; using Lion.AbpPro.CodeManagement.EntityFrameworkCore;
using Lion.AbpPro.LanguageManagement.EntityFrameworkCore; using Lion.AbpPro.LanguageManagement.EntityFrameworkCore;
using Lion.AbpPro.TemplateManagement.EntityFrameworkCore;
using Volo.Abp.Guids; using Volo.Abp.Guids;
namespace Lion.AbpPro.EntityFrameworkCore namespace Lion.AbpPro.EntityFrameworkCore
@ -11,7 +12,8 @@ namespace Lion.AbpPro.EntityFrameworkCore
typeof(DataDictionaryManagementEntityFrameworkCoreModule), typeof(DataDictionaryManagementEntityFrameworkCoreModule),
typeof(NotificationManagementEntityFrameworkCoreModule), typeof(NotificationManagementEntityFrameworkCoreModule),
typeof(LanguageManagementEntityFrameworkCoreModule), typeof(LanguageManagementEntityFrameworkCoreModule),
typeof(CodeManagementEntityFrameworkCoreModule) typeof(CodeManagementEntityFrameworkCoreModule),
typeof(TemplateManagementEntityFrameworkCoreModule)
)] )]
public class AbpProEntityFrameworkCoreModule : AbpModule public class AbpProEntityFrameworkCoreModule : AbpModule
{ {

1
aspnet-core/services/src/Lion.AbpPro.EntityFrameworkCore/Lion.AbpPro.EntityFrameworkCore.csproj

@ -14,6 +14,7 @@
<ProjectReference Include="..\Lion.AbpPro.Domain\Lion.AbpPro.Domain.csproj" /> <ProjectReference Include="..\Lion.AbpPro.Domain\Lion.AbpPro.Domain.csproj" />
<PackageReference Include="Volo.Abp.EntityFrameworkCore.MySQL" /> <PackageReference Include="Volo.Abp.EntityFrameworkCore.MySQL" />
<PackageReference Include="Lion.AbpPro.CodeManagement.EntityFrameworkCore" /> <PackageReference Include="Lion.AbpPro.CodeManagement.EntityFrameworkCore" />
<PackageReference Include="Lion.AbpPro.TemplateManagement.EntityFrameworkCore" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools"> <PackageReference Include="Microsoft.EntityFrameworkCore.Tools">

2859
aspnet-core/services/src/Lion.AbpPro.EntityFrameworkCore/Migrations/20241221154541_1.0.3.Designer.cs

File diff suppressed because it is too large

59
aspnet-core/services/src/Lion.AbpPro.EntityFrameworkCore/Migrations/20241221154541_1.0.3.cs

@ -0,0 +1,59 @@
using System;
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace Lion.AbpPro.Migrations
{
/// <inheritdoc />
public partial class _103 : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "AbpProTextTemplates",
columns: table => new
{
Id = table.Column<Guid>(type: "char(36)", nullable: false, collation: "ascii_general_ci"),
TenantId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
Name = table.Column<string>(type: "varchar(128)", maxLength: 128, nullable: false, comment: "名称")
.Annotation("MySql:CharSet", "utf8mb4"),
Code = table.Column<string>(type: "varchar(128)", maxLength: 128, nullable: false, comment: "编码")
.Annotation("MySql:CharSet", "utf8mb4"),
Content = table.Column<string>(type: "varchar(1024)", maxLength: 1024, nullable: false, comment: "内容")
.Annotation("MySql:CharSet", "utf8mb4"),
CultureName = table.Column<string>(type: "varchar(128)", maxLength: 128, nullable: false, comment: "语言")
.Annotation("MySql:CharSet", "utf8mb4"),
ExtraProperties = table.Column<string>(type: "longtext", nullable: false)
.Annotation("MySql:CharSet", "utf8mb4"),
ConcurrencyStamp = table.Column<string>(type: "varchar(40)", maxLength: 40, nullable: false)
.Annotation("MySql:CharSet", "utf8mb4"),
CreationTime = table.Column<DateTime>(type: "datetime(6)", nullable: false),
CreatorId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
LastModificationTime = table.Column<DateTime>(type: "datetime(6)", nullable: true),
LastModifierId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
IsDeleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false),
DeleterId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
DeletionTime = table.Column<DateTime>(type: "datetime(6)", nullable: true)
},
constraints: table =>
{
table.PrimaryKey("PK_AbpProTextTemplates", x => x.Id);
})
.Annotation("MySql:CharSet", "utf8mb4");
migrationBuilder.CreateIndex(
name: "IX_AbpProTextTemplates_Code",
table: "AbpProTextTemplates",
column: "Code");
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropTable(
name: "AbpProTextTemplates");
}
}
}

82
aspnet-core/services/src/Lion.AbpPro.EntityFrameworkCore/Migrations/AbpProDbContextModelSnapshot.cs

@ -1129,6 +1129,88 @@ namespace Lion.AbpPro.Migrations
b.ToTable("AbpNotificationSubscriptions", (string)null); b.ToTable("AbpNotificationSubscriptions", (string)null);
}); });
modelBuilder.Entity("Lion.AbpPro.TemplateManagement.TextTemplates.TextTemplate", b =>
{
b.Property<Guid>("Id")
.HasColumnType("char(36)");
b.Property<string>("Code")
.IsRequired()
.HasMaxLength(128)
.HasColumnType("varchar(128)")
.HasComment("编码");
b.Property<string>("ConcurrencyStamp")
.IsConcurrencyToken()
.IsRequired()
.HasMaxLength(40)
.HasColumnType("varchar(40)")
.HasColumnName("ConcurrencyStamp");
b.Property<string>("Content")
.IsRequired()
.HasMaxLength(1024)
.HasColumnType("varchar(1024)")
.HasComment("内容");
b.Property<DateTime>("CreationTime")
.HasColumnType("datetime(6)")
.HasColumnName("CreationTime");
b.Property<Guid?>("CreatorId")
.HasColumnType("char(36)")
.HasColumnName("CreatorId");
b.Property<string>("CultureName")
.IsRequired()
.HasMaxLength(128)
.HasColumnType("varchar(128)")
.HasComment("语言");
b.Property<Guid?>("DeleterId")
.HasColumnType("char(36)")
.HasColumnName("DeleterId");
b.Property<DateTime?>("DeletionTime")
.HasColumnType("datetime(6)")
.HasColumnName("DeletionTime");
b.Property<string>("ExtraProperties")
.IsRequired()
.HasColumnType("longtext")
.HasColumnName("ExtraProperties");
b.Property<bool>("IsDeleted")
.ValueGeneratedOnAdd()
.HasColumnType("tinyint(1)")
.HasDefaultValue(false)
.HasColumnName("IsDeleted");
b.Property<DateTime?>("LastModificationTime")
.HasColumnType("datetime(6)")
.HasColumnName("LastModificationTime");
b.Property<Guid?>("LastModifierId")
.HasColumnType("char(36)")
.HasColumnName("LastModifierId");
b.Property<string>("Name")
.IsRequired()
.HasMaxLength(128)
.HasColumnType("varchar(128)")
.HasComment("名称");
b.Property<Guid?>("TenantId")
.HasColumnType("char(36)")
.HasColumnName("TenantId");
b.HasKey("Id");
b.HasIndex("Code");
b.ToTable("AbpProTextTemplates", (string)null);
});
modelBuilder.Entity("Volo.Abp.AuditLogging.AuditLog", b => modelBuilder.Entity("Volo.Abp.AuditLogging.AuditLog", b =>
{ {
b.Property<Guid>("Id") b.Property<Guid>("Id")

4
aspnet-core/services/src/Lion.AbpPro.HttpApi.Client/AbpProHttpApiClientModule.cs

@ -2,6 +2,7 @@ using Lion.AbpPro.BasicManagement;
using Lion.AbpPro.CodeManagement; using Lion.AbpPro.CodeManagement;
using Lion.AbpPro.LanguageManagement; using Lion.AbpPro.LanguageManagement;
using Lion.AbpPro.NotificationManagement; using Lion.AbpPro.NotificationManagement;
using Lion.AbpPro.TemplateManagement;
namespace Lion.AbpPro namespace Lion.AbpPro
{ {
@ -11,7 +12,8 @@ namespace Lion.AbpPro
typeof(DataDictionaryManagementHttpApiClientModule), typeof(DataDictionaryManagementHttpApiClientModule),
typeof(NotificationManagementHttpApiClientModule), typeof(NotificationManagementHttpApiClientModule),
typeof(LanguageManagementHttpApiClientModule), typeof(LanguageManagementHttpApiClientModule),
typeof(CodeManagementHttpApiClientModule) typeof(CodeManagementHttpApiClientModule),
typeof(TemplateManagementHttpApiClientModule)
)] )]
public class AbpProHttpApiClientModule : AbpModule public class AbpProHttpApiClientModule : AbpModule
{ {

1
aspnet-core/services/src/Lion.AbpPro.HttpApi.Client/Lion.AbpPro.HttpApi.Client.csproj

@ -17,6 +17,7 @@
<ItemGroup> <ItemGroup>
<PackageReference Include="Lion.AbpPro.CodeManagement.HttpApi.Client" /> <PackageReference Include="Lion.AbpPro.CodeManagement.HttpApi.Client" />
<PackageReference Include="Lion.AbpPro.TemplateManagement.HttpApi.Client" />
</ItemGroup> </ItemGroup>

4
aspnet-core/services/src/Lion.AbpPro.HttpApi/AbpProHttpApiModule.cs

@ -2,6 +2,7 @@ using Lion.AbpPro.BasicManagement;
using Lion.AbpPro.CodeManagement; using Lion.AbpPro.CodeManagement;
using Lion.AbpPro.LanguageManagement; using Lion.AbpPro.LanguageManagement;
using Lion.AbpPro.Localization; using Lion.AbpPro.Localization;
using Lion.AbpPro.TemplateManagement;
namespace Lion.AbpPro namespace Lion.AbpPro
{ {
@ -11,7 +12,8 @@ namespace Lion.AbpPro
typeof(DataDictionaryManagementHttpApiModule), typeof(DataDictionaryManagementHttpApiModule),
typeof(NotificationManagementHttpApiModule), typeof(NotificationManagementHttpApiModule),
typeof(LanguageManagementHttpApiModule), typeof(LanguageManagementHttpApiModule),
typeof(CodeManagementHttpApiModule) typeof(CodeManagementHttpApiModule),
typeof(TemplateManagementHttpApiModule)
)] )]
public class AbpProHttpApiModule : AbpModule public class AbpProHttpApiModule : AbpModule
{ {

1
aspnet-core/services/src/Lion.AbpPro.HttpApi/Lion.AbpPro.HttpApi.csproj

@ -18,6 +18,7 @@
<ItemGroup> <ItemGroup>
<PackageReference Include="Swashbuckle.AspNetCore.Annotations" /> <PackageReference Include="Swashbuckle.AspNetCore.Annotations" />
<PackageReference Include="Lion.AbpPro.CodeManagement.HttpApi"/> <PackageReference Include="Lion.AbpPro.CodeManagement.HttpApi"/>
<PackageReference Include="Lion.AbpPro.TemplateManagement.HttpApi"/>
</ItemGroup> </ItemGroup>
</Project> </Project>

Loading…
Cancel
Save