From ea318e20d9a513bfae81a9203cef4bca0fc23c2c Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期三, 30 九月 2020 11:01:15 +0800 Subject: [PATCH] 202009301 --- HDL_ON/DAL/Server/HttpServerRequest.cs | 7 ++----- 1 files changed, 2 insertions(+), 5 deletions(-) diff --git a/HDL_ON/DAL/Server/HttpServerRequest.cs b/HDL_ON/DAL/Server/HttpServerRequest.cs index 212ca9f..0d31543 100644 --- a/HDL_ON/DAL/Server/HttpServerRequest.cs +++ b/HDL_ON/DAL/Server/HttpServerRequest.cs @@ -31,14 +31,11 @@ */ - public string relaseaSever = "https://global.hdlcontrol.com/HangZhouHdlCloudApi"; - public string debugSever = "https://global.hdlcontrol.com/ProposedProductionApi"; - string severAddress; + string severAddress = "https://global.hdlcontrol.com/ProposedProductionApi"; public HttpServerRequest() { - severAddress = relaseaSever; } /// <summary> @@ -180,7 +177,7 @@ "\"Account\":" + "\"" + account + "\"" + "," + "\"Company\":" + MainPage.Company + "," + "\"Language\":" + "\"" + Language.CurrentLanguage.ToLower() + "\"" + "," + - "\"AreaCode\":" + OnAppConfig.Instance.CountryNumber + + "\"AreaCode\":" + MainPage.LoginUser.areaCode + "}"; return RequestHttps($"{severAddress}/ZigbeeUsers/RegisterSendVerCode", jsonString, false); -- Gitblit v1.8.0