From ec79e25b8ef528a3fe5b08778d12ee8ebea0f88b Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期四, 14 一月 2021 13:23:25 +0800 Subject: [PATCH] 2021-01-14 1.签名方法调整。 --- HDL_ON/DAL/Server/HttpServerRequest.cs | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/HDL_ON/DAL/Server/HttpServerRequest.cs b/HDL_ON/DAL/Server/HttpServerRequest.cs index 5b5b29c..c27acef 100644 --- a/HDL_ON/DAL/Server/HttpServerRequest.cs +++ b/HDL_ON/DAL/Server/HttpServerRequest.cs @@ -607,7 +607,7 @@ Dictionary<string, object> d = new Dictionary<string, object>(); d.Add("homeId", DB_ResidenceData.Instance.CurrentRegion.RegionID); d.Add("gatewayId", DB_ResidenceData.Instance.HomeGateway.gatewayId); - string jsonString = Newtonsoft.Json.JsonConvert.SerializeObject(d); + var jsonString = HttpUtil.GetSignRequestJson(d); var revertObj = HttpUtil.RequestHttpsPostFroHome(NewAPI.Api_Post_GetGatewayInfo, jsonString); if (revertObj.Code == StateCode.SUCCESS) { -- Gitblit v1.8.0