|
@@ -59,7 +59,7 @@ namespace DataSharing.CityStateDataExchange
|
|
|
{
|
|
|
//判断推送市州
|
|
|
string sendSource = _sharingConfigurationManager.GetHotlineName();
|
|
|
-
|
|
|
+
|
|
|
var userInfo = await _dsUserTokenInfoRepository.GetAsync(p => p.PlatformSource == platformSource && p.State == "1", cancellationToken);
|
|
|
if (userInfo is null)
|
|
|
return;
|
|
@@ -87,7 +87,7 @@ namespace DataSharing.CityStateDataExchange
|
|
|
{ "Mail","" },
|
|
|
{ "Address", HttpUtility.UrlEncode( dto.FullAddress )},
|
|
|
{ "Content", HttpUtility.UrlEncode(dto.Content)},
|
|
|
- { "Source",HttpUtility.UrlEncode( sendSource )}
|
|
|
+ { "Source",sendSource }
|
|
|
};
|
|
|
|
|
|
var config = _sharingConfigurationManager.GetYiBinConfig().CityHandOver;
|
|
@@ -100,8 +100,8 @@ namespace DataSharing.CityStateDataExchange
|
|
|
else
|
|
|
path = config.PushOrder;
|
|
|
//写入待推送数据
|
|
|
- // await _initPushDataService.InitPushDataAsync(platformSource, path, System.Text.Json.JsonSerializer.Serialize(dicParam),
|
|
|
- // dto.No, platformSource: EPlatformSource.CityDataExchange, cancellationToken: cancellationToken);
|
|
|
+ // await _initPushDataService.InitPushDataAsync(platformSource, path, System.Text.Json.JsonSerializer.Serialize(dicParam),
|
|
|
+ // dto.No, platformSource: EPlatformSource.CityDataExchange, cancellationToken: cancellationToken);
|
|
|
|
|
|
var request = JsonSerializer.Serialize(dicParam, ProvinceJsonSerializerOptions.UnStandardDatetimeJsonOptions);
|
|
|
await _initPushDataService.InitDsSendTaskOtherPlatforms(platformSource, path, dto.No,
|
|
@@ -131,7 +131,7 @@ namespace DataSharing.CityStateDataExchange
|
|
|
{ "Code", secretKey }, //请求Code
|
|
|
{ "SCDRCode", dto.ExternalId }, //工单编号
|
|
|
{ "UndertakAdvice", HttpUtility.UrlEncode(dto.ActualOpinion.Trim()) }, //承办意见
|
|
|
- { "Source", HttpUtility.UrlEncode(sendSource) } //来源
|
|
|
+ { "Source", sendSource } //来源
|
|
|
};
|
|
|
|
|
|
var config = _sharingConfigurationManager.GetYiBinConfig().CityHandOver;
|