From 305f57840fff5b7cb1914b35c56eaece618711e7 Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期四, 14 一月 2021 17:06:36 +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