From 43c48f1e0723c1cdc5e6212b5f459bca1b29e120 Mon Sep 17 00:00:00 2001 From: evoxwht <442384644@qq.com> Date: Tue, 30 May 2023 15:00:35 +0800 Subject: [PATCH] =?UTF-8?q?=E9=95=BF=E9=93=BE=E6=8E=A5=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crmeb/config/workerman.php | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/crmeb/config/workerman.php b/crmeb/config/workerman.php index ace47652f..cfa7b7f2c 100644 --- a/crmeb/config/workerman.php +++ b/crmeb/config/workerman.php @@ -9,6 +9,16 @@ // | Author: CRMEB Team // +---------------------------------------------------------------------- return [ + + // 系统程序接收到发送过来的消息,通过此端口推送给对应的客户或者客服,以及后台新订单弹窗提醒 + 'channel' => [ + //内部通讯监听端口 + 'port' => 40003, + //内部通讯地址 + 'ip' => '127.0.0.1', + ], + + // notice 新订单和新退款单发送消息给程序,后台的消息通知 'admin' => [ //协议 'protocol' => 'websocket', @@ -20,6 +30,7 @@ return [ 'serverCount' => 1, ], + // msg 客户或者客服发送消息给程序,客服消息通知 'chat' => [ //协议 'protocol' => 'websocket', @@ -30,12 +41,4 @@ return [ //设置当前Worker实例启动多少个进程 'serverCount' => 1, ], - - 'channel' => [ - //内部通讯监听端口 - 'port' => 40003, - //内部通讯地址 - 'ip' => '127.0.0.1', - ], - ];