shish 5 سال پیش
والد
کامیت
dcdf3b5a3f
1فایلهای تغییر یافته به همراه2 افزوده شده و 1 حذف شده
  1. 2 1
      common/components/wxUtil.php

+ 2 - 1
common/components/wxUtil.php

@@ -1260,10 +1260,11 @@ class wxUtil
         if ($has === false) {
         if ($has === false) {
             $currentHost = str_replace('http', 'https', $currentHost);
             $currentHost = str_replace('http', 'https', $currentHost);
         }
         }
+        //$socket = str_replace("world","Peter",$currentHost);
         $data = [
         $data = [
             "action" => "set",
             "action" => "set",
             "requestdomain" => [$currentHost],
             "requestdomain" => [$currentHost],
-            "wsrequestdomain" => ['wss://api.ghs.huaml.com'],
+            "wsrequestdomain" => ['ws://api.ghs.huaml.com'],
             "uploaddomain" => [$currentHost],
             "uploaddomain" => [$currentHost],
             "downloaddomain" => [$currentHost],
             "downloaddomain" => [$currentHost],
         ];
         ];