yingzi 1 year ago
parent
commit
be574bdbd0
1 changed files with 9 additions and 1 deletions
  1. 9 1
      Controller/Common/Test.Class.php

+ 9 - 1
Controller/Common/Test.Class.php

@@ -2624,10 +2624,18 @@ ALTER TABLE `www.qianniao.vip`.`qianniao_staff_1` MODIFY COLUMN `userCenterId` i
     public function webstock()
     {
         $swooleServerConfigData = Factory::config()->getAppoint('swooleServer', 'order');
+        
+
+        
+        
         if (empty($swooleServerConfigData)) {
             echo('swoole服务端链接信息配置项错误');
-            exit();
+//            exit();
         }
+        $swooleServerConfigData = array(
+            "host"=>"api1.liuniukj.com",
+            "port"=>"9501"
+        );
         $swooleClient = Factory::swoole($swooleServerConfigData, 'WebsocketClient');
 
         // 触发商家新订单通知