|
|
|
@ -1,17 +1,11 @@
|
|
|
|
|
using DocumentFormat.OpenXml.Math;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using Infrastructure;
|
|
|
|
|
using Infrastructure.Helpers;
|
|
|
|
|
using Microsoft.AspNetCore.Authorization;
|
|
|
|
|
using Microsoft.AspNetCore.Mvc;
|
|
|
|
|
using Microsoft.CodeAnalysis.Text;
|
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
using OpenAuth.App.ServiceApp.Request;
|
|
|
|
|
using OpenAuth.Repository.Domain;
|
|
|
|
|
using OpenAuth.WebApi.Model.RabbitMQService;
|
|
|
|
|
using RabbitMQ.Client;
|
|
|
|
|
using System.Globalization;
|
|
|
|
|
using System.Security.Cryptography;
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
|
|
|
|
namespace OpenAuth.WebApi.Controllers.ServiceControllers
|
|
|
|
|
{
|
|
|
|
@ -101,7 +95,7 @@ namespace OpenAuth.WebApi.Controllers.ServiceControllers
|
|
|
|
|
"sdhc"
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
var jsonBody = Newtonsoft.Json.JsonConvert.SerializeObject(data);
|
|
|
|
|
var jsonBody = JsonConvert.SerializeObject(data);
|
|
|
|
|
using var httpClient = new HttpClient(handler);
|
|
|
|
|
// 添加请求头
|
|
|
|
|
// 只把非 Content-Type 的头加到 request
|
|
|
|
|