From 1a041a9c6cd89d975c9ce0f264b8043494382112 Mon Sep 17 00:00:00 2001 From: gdlcf88 Date: Tue, 6 Apr 2021 14:55:40 +0800 Subject: [PATCH] Fix routes. --- common.props | 2 +- .../ClientDemoService.cs | 4 ++-- .../EasyAbp/EShop/Products/ProductsConsts.cs | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/common.props b/common.props index 3938ba3b..b521e912 100644 --- a/common.props +++ b/common.props @@ -1,7 +1,7 @@ latest - 2.1.2 + 2.1.3 $(NoWarn);CS1591 true EasyAbp Team diff --git a/integration/EasyAbp.EShop/test/EasyAbp.EShop.HttpApi.Client.ConsoleTestApp/ClientDemoService.cs b/integration/EasyAbp.EShop/test/EasyAbp.EShop.HttpApi.Client.ConsoleTestApp/ClientDemoService.cs index c6a00a2a..c26246f1 100644 --- a/integration/EasyAbp.EShop/test/EasyAbp.EShop.HttpApi.Client.ConsoleTestApp/ClientDemoService.cs +++ b/integration/EasyAbp.EShop/test/EasyAbp.EShop.HttpApi.Client.ConsoleTestApp/ClientDemoService.cs @@ -67,7 +67,7 @@ namespace EasyAbp.EShop httpClient.SetBearerToken(accessToken); var url = _configuration["RemoteServices:EShop:BaseUrl"] + - "api/EShop/sample/authorized"; + "api/e-shop/sample/authorized"; var responseMessage = await httpClient.GetAsync(url); if (responseMessage.IsSuccessStatusCode) @@ -128,7 +128,7 @@ namespace EasyAbp.EShop httpClient.SetBearerToken(tokenResponse.AccessToken); var url = _configuration["RemoteServices:EShop:BaseUrl"] + - "api/EShop/sample/authorized"; + "api/e-shop/sample/authorized"; var responseMessage = await httpClient.GetAsync(url); if (responseMessage.IsSuccessStatusCode) diff --git a/modules/EasyAbp.EShop.Products/src/EasyAbp.EShop.Products.Domain.Shared/EasyAbp/EShop/Products/ProductsConsts.cs b/modules/EasyAbp.EShop.Products/src/EasyAbp.EShop.Products.Domain.Shared/EasyAbp/EShop/Products/ProductsConsts.cs index d6575c13..b2fa1f10 100644 --- a/modules/EasyAbp.EShop.Products/src/EasyAbp.EShop.Products.Domain.Shared/EasyAbp/EShop/Products/ProductsConsts.cs +++ b/modules/EasyAbp.EShop.Products/src/EasyAbp.EShop.Products.Domain.Shared/EasyAbp/EShop/Products/ProductsConsts.cs @@ -8,7 +8,7 @@ public const string DefaultProductGroupDescription = ""; - public const string CategoryRouteBase = "/api/eShop/products/category"; + public const string CategoryRouteBase = "/api/e-shop/products/category"; public const string GetCategorySummaryListedDataSourceUrl = CategoryRouteBase + "/summary";