diff --git a/EShopOnAbp.sln b/EShopOnAbp.sln index 3cdee83d..7c9f39d2 100644 --- a/EShopOnAbp.sln +++ b/EShopOnAbp.sln @@ -35,12 +35,12 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "EShopOnAbp.PublicWeb", "app EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "EShopOnAbp.CatalogService.HttpApi.Host", "services\catalog\src\EShopOnAbp.CatalogService.HttpApi.Host\EShopOnAbp.CatalogService.HttpApi.Host.csproj", "{3381E059-A2B5-4660-AFDA-5063DEE64154}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "EShopOnAbp.BasketService.HttpApi.Host", "services\basket\src\EShopOnAbp.BasketService.HttpApi.Host\EShopOnAbp.BasketService.HttpApi.Host.csproj", "{6AD19BC3-9B40-49AC-AD24-1769C57C60F1}" -EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "EShopOnAbp.OrderingService.HttpApi.Host", "services\ordering\src\EShopOnAbp.OrderingService.HttpApi.Host\EShopOnAbp.OrderingService.HttpApi.Host.csproj", "{CE23F65B-BCDD-40D5-8AB5-80D9F52D3FA1}" EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "EShopOnAbp.PaymentService.HttpApi.Host", "services\payment\src\EShopOnAbp.PaymentService.HttpApi.Host\EShopOnAbp.PaymentService.HttpApi.Host.csproj", "{7AE4C613-780E-4DA5-9B57-76F0D40D5146}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EShopOnAbp.BasketService", "services\basket\src\EShopOnAbp.BasketService\EShopOnAbp.BasketService.csproj", "{E373DD66-3247-4D95-B325-064BBBC337B1}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -95,10 +95,6 @@ Global {3381E059-A2B5-4660-AFDA-5063DEE64154}.Debug|Any CPU.Build.0 = Debug|Any CPU {3381E059-A2B5-4660-AFDA-5063DEE64154}.Release|Any CPU.ActiveCfg = Release|Any CPU {3381E059-A2B5-4660-AFDA-5063DEE64154}.Release|Any CPU.Build.0 = Release|Any CPU - {6AD19BC3-9B40-49AC-AD24-1769C57C60F1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {6AD19BC3-9B40-49AC-AD24-1769C57C60F1}.Debug|Any CPU.Build.0 = Debug|Any CPU - {6AD19BC3-9B40-49AC-AD24-1769C57C60F1}.Release|Any CPU.ActiveCfg = Release|Any CPU - {6AD19BC3-9B40-49AC-AD24-1769C57C60F1}.Release|Any CPU.Build.0 = Release|Any CPU {CE23F65B-BCDD-40D5-8AB5-80D9F52D3FA1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {CE23F65B-BCDD-40D5-8AB5-80D9F52D3FA1}.Debug|Any CPU.Build.0 = Debug|Any CPU {CE23F65B-BCDD-40D5-8AB5-80D9F52D3FA1}.Release|Any CPU.ActiveCfg = Release|Any CPU @@ -107,6 +103,10 @@ Global {7AE4C613-780E-4DA5-9B57-76F0D40D5146}.Debug|Any CPU.Build.0 = Debug|Any CPU {7AE4C613-780E-4DA5-9B57-76F0D40D5146}.Release|Any CPU.ActiveCfg = Release|Any CPU {7AE4C613-780E-4DA5-9B57-76F0D40D5146}.Release|Any CPU.Build.0 = Release|Any CPU + {E373DD66-3247-4D95-B325-064BBBC337B1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {E373DD66-3247-4D95-B325-064BBBC337B1}.Debug|Any CPU.Build.0 = Debug|Any CPU + {E373DD66-3247-4D95-B325-064BBBC337B1}.Release|Any CPU.ActiveCfg = Release|Any CPU + {E373DD66-3247-4D95-B325-064BBBC337B1}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -124,9 +124,9 @@ Global {2E0B715C-3AAD-47B3-B2EB-D34CB24CBEFA} = {1484E912-DCF3-4568-A72C-4C7622104DB8} {969029FC-CFCF-4F95-9778-E5C69117711E} = {866DB6CC-FEA8-4CC2-A2E4-143537D197B6} {3381E059-A2B5-4660-AFDA-5063DEE64154} = {F415FFFD-E52D-4EBE-98DC-067C1EFFFFE3} - {6AD19BC3-9B40-49AC-AD24-1769C57C60F1} = {F415FFFD-E52D-4EBE-98DC-067C1EFFFFE3} {CE23F65B-BCDD-40D5-8AB5-80D9F52D3FA1} = {F415FFFD-E52D-4EBE-98DC-067C1EFFFFE3} {7AE4C613-780E-4DA5-9B57-76F0D40D5146} = {F415FFFD-E52D-4EBE-98DC-067C1EFFFFE3} + {E373DD66-3247-4D95-B325-064BBBC337B1} = {F415FFFD-E52D-4EBE-98DC-067C1EFFFFE3} EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {26F82565-C6A4-439D-93A4-3251E3E7D5B0} diff --git a/apps/public-web/src/EShopOnAbp.PublicWeb/BasketProductEventHandler.cs b/apps/public-web/src/EShopOnAbp.PublicWeb/BasketProductEventHandler.cs index d670d30b..e8a673d1 100644 --- a/apps/public-web/src/EShopOnAbp.PublicWeb/BasketProductEventHandler.cs +++ b/apps/public-web/src/EShopOnAbp.PublicWeb/BasketProductEventHandler.cs @@ -1,5 +1,5 @@ using System.Threading.Tasks; -using EShopOnAbp.BasketService; +using EShopOnAbp.BasketService.Services; using Microsoft.AspNetCore.SignalR; using Volo.Abp.DependencyInjection; using Volo.Abp.EventBus.Distributed; diff --git a/services/basket/src/EShopOnAbp.BasketService.HttpApi.Client/ClientProxies/BasketClientProxy.Generated.cs b/apps/public-web/src/EShopOnAbp.PublicWeb/ClientProxies/BasketClientProxy.Generated.cs similarity index 93% rename from services/basket/src/EShopOnAbp.BasketService.HttpApi.Client/ClientProxies/BasketClientProxy.Generated.cs rename to apps/public-web/src/EShopOnAbp.PublicWeb/ClientProxies/BasketClientProxy.Generated.cs index 5bb60e34..868ef629 100644 --- a/services/basket/src/EShopOnAbp.BasketService.HttpApi.Client/ClientProxies/BasketClientProxy.Generated.cs +++ b/apps/public-web/src/EShopOnAbp.PublicWeb/ClientProxies/BasketClientProxy.Generated.cs @@ -6,10 +6,10 @@ using Volo.Abp.Http.Client; using Volo.Abp.Http.Modeling; using Volo.Abp.DependencyInjection; using Volo.Abp.Http.Client.ClientProxying; -using EShopOnAbp.BasketService; +using EShopOnAbp.BasketService.Services; // ReSharper disable once CheckNamespace -namespace EShopOnAbp.BasketService.ClientProxies; +namespace EShopOnAbp.BasketService.Services.ClientProxies; [Dependency(ReplaceServices = true)] [ExposeServices(typeof(IBasketAppService), typeof(BasketClientProxy))] diff --git a/services/basket/src/EShopOnAbp.BasketService.HttpApi.Client/ClientProxies/BasketClientProxy.cs b/apps/public-web/src/EShopOnAbp.PublicWeb/ClientProxies/BasketClientProxy.cs similarity index 72% rename from services/basket/src/EShopOnAbp.BasketService.HttpApi.Client/ClientProxies/BasketClientProxy.cs rename to apps/public-web/src/EShopOnAbp.PublicWeb/ClientProxies/BasketClientProxy.cs index 222238f4..eceec230 100644 --- a/services/basket/src/EShopOnAbp.BasketService.HttpApi.Client/ClientProxies/BasketClientProxy.cs +++ b/apps/public-web/src/EShopOnAbp.PublicWeb/ClientProxies/BasketClientProxy.cs @@ -1,6 +1,6 @@ // This file is part of BasketClientProxy, you can customize it here // ReSharper disable once CheckNamespace -namespace EShopOnAbp.BasketService.ClientProxies; +namespace EShopOnAbp.BasketService.Services.ClientProxies; public partial class BasketClientProxy { diff --git a/services/basket/src/EShopOnAbp.BasketService.HttpApi.Client/ClientProxies/basket-generate-proxy.json b/apps/public-web/src/EShopOnAbp.PublicWeb/ClientProxies/basket-generate-proxy.json similarity index 75% rename from services/basket/src/EShopOnAbp.BasketService.HttpApi.Client/ClientProxies/basket-generate-proxy.json rename to apps/public-web/src/EShopOnAbp.PublicWeb/ClientProxies/basket-generate-proxy.json index 901caad0..1f8a157d 100644 --- a/services/basket/src/EShopOnAbp.BasketService.HttpApi.Client/ClientProxies/basket-generate-proxy.json +++ b/apps/public-web/src/EShopOnAbp.PublicWeb/ClientProxies/basket-generate-proxy.json @@ -4,10 +4,10 @@ "rootPath": "basket", "remoteServiceName": "Basket", "controllers": { - "EShopOnAbp.BasketService.BasketAppService": { + "EShopOnAbp.BasketService.Services.BasketAppService": { "controllerName": "Basket", "controllerGroupName": "Basket", - "type": "EShopOnAbp.BasketService.BasketAppService", + "type": "EShopOnAbp.BasketService.Services.BasketAppService", "interfaces": [ { "type": "Volo.Abp.Validation.IValidationEnabled" @@ -19,7 +19,7 @@ "type": "Volo.Abp.GlobalFeatures.IGlobalFeatureCheckingEnabled" }, { - "type": "EShopOnAbp.BasketService.IBasketAppService" + "type": "EShopOnAbp.BasketService.Services.IBasketAppService" } ], "actions": { @@ -54,11 +54,11 @@ } ], "returnValue": { - "type": "EShopOnAbp.BasketService.BasketDto", - "typeSimple": "EShopOnAbp.BasketService.BasketDto" + "type": "EShopOnAbp.BasketService.Services.BasketDto", + "typeSimple": "EShopOnAbp.BasketService.Services.BasketDto" }, "allowAnonymous": null, - "implementFrom": "EShopOnAbp.BasketService.IBasketAppService" + "implementFrom": "EShopOnAbp.BasketService.Services.IBasketAppService" }, "AddProductAsyncByInput": { "uniqueName": "AddProductAsyncByInput", @@ -69,9 +69,9 @@ "parametersOnMethod": [ { "name": "input", - "typeAsString": "EShopOnAbp.BasketService.AddProductDto, EShopOnAbp.BasketService.Application.Contracts", - "type": "EShopOnAbp.BasketService.AddProductDto", - "typeSimple": "EShopOnAbp.BasketService.AddProductDto", + "typeAsString": "EShopOnAbp.BasketService.Services.AddProductDto, EShopOnAbp.BasketService.Contracts", + "type": "EShopOnAbp.BasketService.Services.AddProductDto", + "typeSimple": "EShopOnAbp.BasketService.Services.AddProductDto", "isOptional": false, "defaultValue": null } @@ -81,8 +81,8 @@ "nameOnMethod": "input", "name": "input", "jsonName": null, - "type": "EShopOnAbp.BasketService.AddProductDto", - "typeSimple": "EShopOnAbp.BasketService.AddProductDto", + "type": "EShopOnAbp.BasketService.Services.AddProductDto", + "typeSimple": "EShopOnAbp.BasketService.Services.AddProductDto", "isOptional": false, "defaultValue": null, "constraintTypes": null, @@ -91,11 +91,11 @@ } ], "returnValue": { - "type": "EShopOnAbp.BasketService.BasketDto", - "typeSimple": "EShopOnAbp.BasketService.BasketDto" + "type": "EShopOnAbp.BasketService.Services.BasketDto", + "typeSimple": "EShopOnAbp.BasketService.Services.BasketDto" }, "allowAnonymous": null, - "implementFrom": "EShopOnAbp.BasketService.IBasketAppService" + "implementFrom": "EShopOnAbp.BasketService.Services.IBasketAppService" }, "RemoveProductAsyncByInput": { "uniqueName": "RemoveProductAsyncByInput", @@ -106,9 +106,9 @@ "parametersOnMethod": [ { "name": "input", - "typeAsString": "EShopOnAbp.BasketService.RemoveProductDto, EShopOnAbp.BasketService.Application.Contracts", - "type": "EShopOnAbp.BasketService.RemoveProductDto", - "typeSimple": "EShopOnAbp.BasketService.RemoveProductDto", + "typeAsString": "EShopOnAbp.BasketService.Services.RemoveProductDto, EShopOnAbp.BasketService.Contracts", + "type": "EShopOnAbp.BasketService.Services.RemoveProductDto", + "typeSimple": "EShopOnAbp.BasketService.Services.RemoveProductDto", "isOptional": false, "defaultValue": null } @@ -152,11 +152,11 @@ } ], "returnValue": { - "type": "EShopOnAbp.BasketService.BasketDto", - "typeSimple": "EShopOnAbp.BasketService.BasketDto" + "type": "EShopOnAbp.BasketService.Services.BasketDto", + "typeSimple": "EShopOnAbp.BasketService.Services.BasketDto" }, "allowAnonymous": null, - "implementFrom": "EShopOnAbp.BasketService.IBasketAppService" + "implementFrom": "EShopOnAbp.BasketService.Services.IBasketAppService" } } } diff --git a/apps/public-web/src/EShopOnAbp.PublicWeb/Components/Basket/Default.cshtml b/apps/public-web/src/EShopOnAbp.PublicWeb/Components/Basket/Default.cshtml index 995a0f1a..08870a7f 100644 --- a/apps/public-web/src/EShopOnAbp.PublicWeb/Components/Basket/Default.cshtml +++ b/apps/public-web/src/EShopOnAbp.PublicWeb/Components/Basket/Default.cshtml @@ -1,7 +1,7 @@ @using EShopOnAbp.Localization @using EShopOnAbp.PublicWeb.Components.Purchase @using Microsoft.Extensions.Localization -@model EShopOnAbp.BasketService.BasketDto +@model EShopOnAbp.BasketService.Services.BasketDto @inject IStringLocalizer L
diff --git a/apps/public-web/src/EShopOnAbp.PublicWeb/Components/Payment/PaymentWidgetViewComponent.cs b/apps/public-web/src/EShopOnAbp.PublicWeb/Components/Payment/PaymentWidgetViewComponent.cs index 85020fde..d647c712 100644 --- a/apps/public-web/src/EShopOnAbp.PublicWeb/Components/Payment/PaymentWidgetViewComponent.cs +++ b/apps/public-web/src/EShopOnAbp.PublicWeb/Components/Payment/PaymentWidgetViewComponent.cs @@ -1,7 +1,6 @@ using System.Collections.Generic; using System.Threading.Tasks; -using EShopOnAbp.BasketService; -using EShopOnAbp.PaymentService.PaymentMethods; +using EShopOnAbp.BasketService.Services; using EShopOnAbp.PublicWeb.ServiceProviders; using Microsoft.AspNetCore.Mvc; using Volo.Abp.AspNetCore.Mvc; diff --git a/apps/public-web/src/EShopOnAbp.PublicWeb/Components/Purchase/PurchaseWidgetViewComponent.cs b/apps/public-web/src/EShopOnAbp.PublicWeb/Components/Purchase/PurchaseWidgetViewComponent.cs index ca7699b5..a94967bf 100644 --- a/apps/public-web/src/EShopOnAbp.PublicWeb/Components/Purchase/PurchaseWidgetViewComponent.cs +++ b/apps/public-web/src/EShopOnAbp.PublicWeb/Components/Purchase/PurchaseWidgetViewComponent.cs @@ -1,5 +1,5 @@ using System.Threading.Tasks; -using EShopOnAbp.BasketService; +using EShopOnAbp.BasketService.Services; using Microsoft.AspNetCore.Mvc; using Volo.Abp.AspNetCore.Mvc; using Volo.Abp.AspNetCore.Mvc.UI.Widgets; diff --git a/apps/public-web/src/EShopOnAbp.PublicWeb/Components/Toolbar/Cart/Default.cshtml b/apps/public-web/src/EShopOnAbp.PublicWeb/Components/Toolbar/Cart/Default.cshtml index 62cbfb03..5995e593 100644 --- a/apps/public-web/src/EShopOnAbp.PublicWeb/Components/Toolbar/Cart/Default.cshtml +++ b/apps/public-web/src/EShopOnAbp.PublicWeb/Components/Toolbar/Cart/Default.cshtml @@ -1,8 +1,7 @@ -@using EShopOnAbp.BasketService.Localization -@using EShopOnAbp.PublicWeb.Components.Basket +@using EShopOnAbp.Localization @using Microsoft.AspNetCore.Mvc.Localization -@inject IHtmlLocalizer L -@model EShopOnAbp.BasketService.BasketDto +@inject IHtmlLocalizer L +@model EShopOnAbp.BasketService.Services.BasketDto