[성현모] CPMEta 수정
This commit is contained in:
@ -9,7 +9,7 @@
|
|||||||
{
|
{
|
||||||
"Id": 1,
|
"Id": 1,
|
||||||
"ApiName": "CPMetaWbms",
|
"ApiName": "CPMetaWbms",
|
||||||
"Host": "192.168.0.126:9000"
|
"Host": "10.188.172.194:9000"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Id": 2,
|
"Id": 2,
|
||||||
|
|||||||
@ -5,6 +5,7 @@
|
|||||||
@using Web.Operation.Services
|
@using Web.Operation.Services
|
||||||
@using Packet
|
@using Packet
|
||||||
|
|
||||||
|
@inject ConfigService<WebClientConfig> _configService
|
||||||
@inject CPMetaService _cpMetaService
|
@inject CPMetaService _cpMetaService
|
||||||
@inject PopupService PopupService
|
@inject PopupService PopupService
|
||||||
|
|
||||||
@ -58,7 +59,7 @@
|
|||||||
|
|
||||||
protected override async Task OnInitializedAsync()
|
protected override async Task OnInitializedAsync()
|
||||||
{
|
{
|
||||||
|
ServerAddress = _cpMetaService.ApiHost;
|
||||||
}
|
}
|
||||||
|
|
||||||
private async Task SearchByProductID()
|
private async Task SearchByProductID()
|
||||||
|
|||||||
@ -12,7 +12,7 @@ namespace Web.Operation.Services
|
|||||||
private readonly IServiceScopeFactory _scopeFactory;
|
private readonly IServiceScopeFactory _scopeFactory;
|
||||||
private readonly ConfigService<WebClientConfig>? _configService;
|
private readonly ConfigService<WebClientConfig>? _configService;
|
||||||
|
|
||||||
private string ApiHost = string.Empty;
|
public string ApiHost { get; set; } = string.Empty;
|
||||||
|
|
||||||
public CPMetaService(IServiceProvider serviceProvider, IServiceScopeFactory scopeFactory, ConfigService<WebClientConfig> configService)
|
public CPMetaService(IServiceProvider serviceProvider, IServiceScopeFactory scopeFactory, ConfigService<WebClientConfig> configService)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user