2025-07-05 15:23:08 +08:00
|
|
|
|
using Volo.Abp.Http.Client;
|
2024-06-02 17:20:38 +08:00
|
|
|
|
using Yi.Abp.Tool.HttpApi.Client;
|
2024-06-01 21:45:20 +08:00
|
|
|
|
|
|
|
|
|
|
namespace Yi.Abp.Tool
|
|
|
|
|
|
{
|
2024-06-02 13:27:41 +08:00
|
|
|
|
[DependsOn(typeof(YiAbpToolHttpApiClientModule)
|
|
|
|
|
|
)]
|
2024-06-01 21:45:20 +08:00
|
|
|
|
public class YiAbpToolModule : AbpModule
|
|
|
|
|
|
{
|
2024-06-02 17:20:38 +08:00
|
|
|
|
|
|
|
|
|
|
public override void PostConfigureServices(ServiceConfigurationContext context)
|
|
|
|
|
|
{
|
2024-06-02 18:00:22 +08:00
|
|
|
|
// var configuration = context.Services.GetConfiguration();
|
2024-06-02 17:20:38 +08:00
|
|
|
|
Configure<AbpRemoteServiceOptions>(options =>
|
|
|
|
|
|
{
|
|
|
|
|
|
options.RemoteServices.Default =
|
2025-07-05 15:23:08 +08:00
|
|
|
|
new RemoteServiceConfiguration("https://data.ccnetcore.com:19009");
|
2024-11-08 11:10:45 +08:00
|
|
|
|
// new RemoteServiceConfiguration("http://localhost:19002");
|
2024-06-02 17:20:38 +08:00
|
|
|
|
});
|
|
|
|
|
|
}
|
2024-06-01 21:45:20 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|