From 0489dfce8280e20dd5fd50f9d4840b6e43bfafea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=B4=AA=E6=9E=97?= Date: Tue, 8 Dec 2020 14:00:44 +0800 Subject: [PATCH] fixed issues #8 --- Galaxy.Order.Api/GalaxyOrderWebModule.cs | 2 ++ Galaxy.Order.Api/appsettings.json | 8 ++++++++ 2 files changed, 10 insertions(+) diff --git a/Galaxy.Order.Api/GalaxyOrderWebModule.cs b/Galaxy.Order.Api/GalaxyOrderWebModule.cs index c1b4f54..3df0a03 100644 --- a/Galaxy.Order.Api/GalaxyOrderWebModule.cs +++ b/Galaxy.Order.Api/GalaxyOrderWebModule.cs @@ -5,11 +5,13 @@ using Volo.Abp; using Volo.Abp.AspNetCore.Mvc; using Volo.Abp.Autofac; +using Volo.Abp.Http.Client; using Volo.Abp.Modularity; namespace Galaxy.Order.Api { [DependsOn(typeof(AbpAspNetCoreMvcModule))] + [DependsOn(typeof(AbpHttpClientModule))] [DependsOn(typeof(AbpAutofacModule), typeof(GalaxyOrderModule))] public class GalaxyOrderWebModule : AbpModule { diff --git a/Galaxy.Order.Api/appsettings.json b/Galaxy.Order.Api/appsettings.json index bcd8323..deaca1b 100644 --- a/Galaxy.Order.Api/appsettings.json +++ b/Galaxy.Order.Api/appsettings.json @@ -6,5 +6,13 @@ "Microsoft.Hosting.Lifetime": "Information" } }, + "RemoteServices": { + "Default": { + "BaseUrl": "https://localhost:44348/" + }, + "ProductStore": { + "BaseUrl": "http://localhost:4434/" + } + }, "AllowedHosts": "*" } \ No newline at end of file