wxr
2024-09-14 c00da77d00a479fa5d022346a6d9075f90a5c087
HDL_ON/DAL/Server/HttpUtil.cs
@@ -22,11 +22,9 @@
        public const string APP_KEY = "HDL-HOME-APP";
        public const string SECRET_KEY = "CPL345bn28gHnvi9G4tYbq3cTYkiHC";
        //public const string GlobalRequestHttpsHost = "https://test-gz.hdlcontrol.com";
        //public const string APP_KEY = "HDL-HOME-APP-TEST";
        //public const string SECRET_KEY = "WeJ8TY88vbakCcnvH8G1tDUqzLWY8yss";
        //public const string GlobalRequestHttpsHost = "http://59.41.255.150:7777";//mmmm
        //const string APP_KEY = "CPEVRLRT";
@@ -253,7 +251,7 @@
                }
                else
                {
                    HDL_ON.Utlis.WriteLine($"接口异常:{requestFullUrl} \r\n"+response.Content);
                    MainPage.Log("Error", $"接口异常:{requestFullUrl} \r\n" + response.Content);
                    if(response.Content!= null)
                    {
                        try
@@ -272,7 +270,7 @@
            }
            catch (Exception ex)
            {
                HDL_ON.Utlis.WriteLine(ex.Message);
                MainPage.Log("Error", $"接口异常x:{ex.StackTrace}");
                return new ResponsePackNew() { Code = StateCode.NETWORK_ERROR ,message = Language.StringByID(StringId.FailedRequestServer) };
            }
@@ -341,7 +339,7 @@
#endif
                    return true;
                }
                else if (revertObj.Code == StateCode.PasswrodError)
                else //if (revertObj.Code == StateCode.PasswrodError)
                {
                    UserInfo.Current.LastTime = DateTime.MinValue;
                }