HDL Home App 第二版本 旧平台金堂用 正在使用
陈嘉乐
2020-09-02 07c647861d549a4c61f615dba9c008c29ad57f43
ZigbeeApp/Shared/Phone/Device/Logic/Send.cs
old mode 100644 new mode 100755
@@ -868,7 +868,7 @@
                {
                    //服务返回来没有门锁成员信息,没有必要再去请求成员列表,
                    //原因:节约时间,体验效果好;
                    result = await UserCenter.UserCenterLogic.GetResponseDataByRequestHttps("ZigbeeUsers/GetSubAccountByDistributedMark", false, pra);
                    result = UserCenter.UserCenterLogic.GetResponseDataByRequestHttps("ZigbeeUsers/GetSubAccountByDistributedMark", false, pra);
                }
                if (string.IsNullOrEmpty(result))
                {
@@ -1234,13 +1234,12 @@
        /// <returns></returns>
        public static async System.Threading.Tasks.Task<string> HttpWebRequest(string getUrl, string str, string method, int second = 3, bool _bool = false)
        {
            try
            {
            HttpWebRequest request = WebRequest.Create(getUrl) as HttpWebRequest; //创建请求
            request.Method = method; //请求方式为POST/GET
            request.ContentType = "application/json";
            request.Timeout = second * 1000;//超时时间
            try
            {
                if (_bool)
                {
                    //用于高胜可视对讲接口