Browse Source

Refactorings on BasketService

pull/9/head
enisn 5 years ago
parent
commit
c5e74af0f3
  1. 11
      services/basket/src/EShopOnAbp.BasketService.Domain.Shared/MultiTenancy/MultiTenancyConsts.cs
  2. 2
      services/basket/src/EShopOnAbp.BasketService.HttpApi.Host/EShopOnAbp.BasketService.HttpApi.Host.csproj
  3. 3
      services/basket/src/EShopOnAbp.BasketService.HttpApi.Host/appsettings.json

11
services/basket/src/EShopOnAbp.BasketService.Domain.Shared/MultiTenancy/MultiTenancyConsts.cs

@ -1,11 +0,0 @@
namespace EShopOnAbp.BasketService.MultiTenancy
{
public static class MultiTenancyConsts
{
/* Enable/disable multi-tenancy easily in a single point.
* If you will never need to multi-tenancy, you can remove
* related modules and code parts, including this file.
*/
public const bool IsEnabled = true;
}
}

2
services/basket/src/EShopOnAbp.BasketService.HttpApi.Host/EShopOnAbp.BasketService.HttpApi.Host.csproj

@ -10,8 +10,6 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Volo.Abp.Http.Client.IdentityModel.Web" Version="5.0.0-beta.1" />
<PackageReference Include="Volo.Abp.Identity.HttpApi.Client" Version="5.0.0-beta.1" />
<PackageReference Include="Volo.Abp.Account.Application.Contracts" Version="5.0.0-beta.1" />
</ItemGroup>

3
services/basket/src/EShopOnAbp.BasketService.HttpApi.Host/appsettings.json

@ -17,6 +17,9 @@
}
},
"AllowedHosts": "*",
"ConnectionStrings": {
"AdministrationService": "Server=localhost,1434;Database=EShopOnAbp_Administration;User Id=sa;password=myPassw0rd;MultipleActiveResultSets=true"
},
"StringEncryption": {
"DefaultPassPhrase": "3PfxLgcuymUUbihz"
},

Loading…
Cancel
Save