|
@@ -52,7 +52,7 @@ namespace DataSharing.Province
|
|
|
if (dto is null)
|
|
|
return;
|
|
|
|
|
|
- ProvinceResponse result = null;
|
|
|
+ ProvinceResponse result = new();
|
|
|
|
|
|
if (dto.PathType == EPathType.HuiJu) //汇聚推送
|
|
|
result = await _huiJuClient.RequestAsync<ProvinceResponse>(dto.Path, dto.HttpMethod, dto.Request, cancellationToken);
|
|
@@ -60,7 +60,7 @@ namespace DataSharing.Province
|
|
|
else if (dto.PathType == EPathType.XieTong)//协同推送
|
|
|
result = await _xieTongClient.RequestAsync<ProvinceResponse>(dto.Path, dto.HttpMethod, dto.Request, cancellationToken);
|
|
|
|
|
|
- else if (dto.PathType == EPathType.XieTong) //附件
|
|
|
+ else if (dto.PathType == EPathType.File) //附件
|
|
|
{
|
|
|
if (dto != null && dto.FileJson != null && dto.FileJson.Count > 0)
|
|
|
{
|