diff --git a/modules/EasyAbp.EShop.Products/src/EasyAbp.EShop.Products.Application/EasyAbp/EShop/Products/ProductDetails/ProductDetailAppService.cs b/modules/EasyAbp.EShop.Products/src/EasyAbp.EShop.Products.Application/EasyAbp/EShop/Products/ProductDetails/ProductDetailAppService.cs index 47818280..bebc0e4b 100644 --- a/modules/EasyAbp.EShop.Products/src/EasyAbp.EShop.Products.Application/EasyAbp/EShop/Products/ProductDetails/ProductDetailAppService.cs +++ b/modules/EasyAbp.EShop.Products/src/EasyAbp.EShop.Products.Application/EasyAbp/EShop/Products/ProductDetails/ProductDetailAppService.cs @@ -61,18 +61,13 @@ namespace EasyAbp.EShop.Products.ProductDetails await Repository.DeleteAsync(id); } + [Obsolete("Should use DeleteAsync(Guid id, Guid storeId)")] [RemoteService(false)] public override Task DeleteAsync(Guid id) { throw new NotImplementedException(); } - [RemoteService(false)] - public override Task> GetListAsync(PagedAndSortedResultRequestDto input) - { - throw new NotImplementedException(); - } - protected virtual async Task CheckStoreIsProductOwnerAsync(Guid productId, Guid storeId) { var productStore = await _productStoreRepository.GetAsync(productId, storeId); diff --git a/modules/EasyAbp.EShop.Products/src/EasyAbp.EShop.Products.Application/EasyAbp/EShop/Products/Products/ProductAppService.cs b/modules/EasyAbp.EShop.Products/src/EasyAbp.EShop.Products.Application/EasyAbp/EShop/Products/Products/ProductAppService.cs index f3ba1721..32f44986 100644 --- a/modules/EasyAbp.EShop.Products/src/EasyAbp.EShop.Products.Application/EasyAbp/EShop/Products/Products/ProductAppService.cs +++ b/modules/EasyAbp.EShop.Products/src/EasyAbp.EShop.Products.Application/EasyAbp/EShop/Products/Products/ProductAppService.cs @@ -162,12 +162,14 @@ namespace EasyAbp.EShop.Products.Products product.ProductAttributes.RemoveAll(a => exceptAttributeNames.Contains(a.DisplayName)); } + [Obsolete("Should use DeleteAsync(Guid id, Guid storeId)")] [RemoteService(false)] public override Task DeleteAsync(Guid id) { throw new NotImplementedException(); } + [Obsolete("Should use GetAsync(Guid id, Guid storeId)")] [RemoteService(false)] public override Task GetAsync(Guid id) {