first commit

This commit is contained in:
2025-09-08 14:15:45 +08:00
commit 0ecba9619f
622 changed files with 37941 additions and 0 deletions

View File

@ -0,0 +1,14 @@
using KonSoft.Payment.Localization;
using Volo.Abp.AspNetCore.Mvc;
namespace KonSoft.Payment.Controllers;
/* Inherit your controllers from this class.
*/
public abstract class PaymentController : AbpControllerBase
{
protected PaymentController()
{
LocalizationResource = typeof(PaymentResource);
}
}

View File

@ -0,0 +1,24 @@
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\..\common.props" />
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<Nullable>enable</Nullable>
<RootNamespace>KonSoft.Payment</RootNamespace>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\KonSoft.Payment.Application.Contracts\KonSoft.Payment.Application.Contracts.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Volo.Abp.Account.HttpApi" Version="8.3.4" />
<PackageReference Include="Volo.Abp.Identity.HttpApi" Version="8.3.4" />
<PackageReference Include="Volo.Abp.PermissionManagement.HttpApi" Version="8.3.4" />
<PackageReference Include="Volo.Abp.TenantManagement.HttpApi" Version="8.3.4" />
<PackageReference Include="Volo.Abp.FeatureManagement.HttpApi" Version="8.3.4" />
<PackageReference Include="Volo.Abp.SettingManagement.HttpApi" Version="8.3.4" />
</ItemGroup>
</Project>

View File

@ -0,0 +1,10 @@
using System;
namespace KonSoft.Payment.Models.Test;
public class TestModel
{
public string? Name { get; set; }
public DateTime BirthDate { get; set; }
}

View File

@ -0,0 +1,41 @@
using Localization.Resources.AbpUi;
using KonSoft.Payment.Localization;
using Volo.Abp.Account;
using Volo.Abp.FeatureManagement;
using Volo.Abp.Identity;
using Volo.Abp.Localization;
using Volo.Abp.Modularity;
using Volo.Abp.PermissionManagement.HttpApi;
using Volo.Abp.SettingManagement;
using Volo.Abp.TenantManagement;
namespace KonSoft.Payment;
[DependsOn(
typeof(PaymentApplicationContractsModule),
typeof(AbpAccountHttpApiModule),
typeof(AbpIdentityHttpApiModule),
typeof(AbpPermissionManagementHttpApiModule),
typeof(AbpTenantManagementHttpApiModule),
typeof(AbpFeatureManagementHttpApiModule),
typeof(AbpSettingManagementHttpApiModule)
)]
public class PaymentHttpApiModule : AbpModule
{
public override void ConfigureServices(ServiceConfigurationContext context)
{
ConfigureLocalization();
}
private void ConfigureLocalization()
{
Configure<AbpLocalizationOptions>(options =>
{
options.Resources
.Get<PaymentResource>()
.AddBaseTypes(
typeof(AbpUiResource)
);
});
}
}