zhangxiaobin před 1 rokem
rodič
revize
cca9b1eecd
1 změnil soubory, kde provedl 3 přidání a 1 odebrání
  1. 3 1
      application/api/controller/Noble.php

+ 3 - 1
application/api/controller/Noble.php

@@ -242,7 +242,9 @@ class Noble extends Api
             'partyNotice' => $partyNotice,
         ];
         $tcpJson = json_encode($tcpArr);
-        Gateway::sendToAll($tcpJson);//暂时注释
+        $Gateway = new Gateway();
+        $Gateway::$registerAddress = '127.0.0.1:2345';
+        $Gateway::sendToAll($tcpJson);//暂时注释
 
     }