<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                企業??AI智能體構建引擎,智能編排和調試,一鍵部署,支持知識庫和私有化部署方案 廣告
                ## 長連接服務 在h5聊天,后臺管理員消息通知等功能使用到 > php 要求開啟以下函數 > > ~~~ > `pcntl_signal` `pcntl_signal_dispatch` pcntl_fork` `pcntl_wait` `pcntl_alarm` > > ~~~ ### 命令參數介紹 * status: 狀態 `php think workerman status channel` * start: 啟動 `php think workerman start chat` * stop: 關閉 `php think workerman start chat` * restart: 重啟 `php think workerman restart chat` * server: 服務 (windows) `php think workerman serve chat` * \--d : 后臺執行 `php think workerman start chat --d` ### 啟動服務命令 linux環境下,使用寶塔自帶終端或者其他工具連接服務器比如:`Xshell`,切換到當前項目的跟目錄,比如:`/web/wwwroot/你的項目目錄/`,在執行如下命令: ~~~ php think workerman start --d ~~~ > 注意:往往登錄服務器的用戶是root用戶這里在啟動命令的時候記得一定要加上sudo - u www,不然會導致項目runtime/cache目錄的權限改變,需注意 > 例如使用root用戶登錄,啟動命令應如下: ~~~ sudo -u www php think workerman start --d ~~~ windows環境下,打開`cmd`命令提示框,切換到自己項目根目錄:需要分別執行以下三個命令,打開不同服務: ~~~ # 內部通訊服務 php think workerman start channel # h5端聊天服務 php think workerman start chat # 后臺管理員通知 php think workerman start admin ~~~ ## 修改端口 首先在**config/workerman.php**文件中修改對應的端口 * **admin.port**為后臺訂單提醒服務端口,默認為20002 * **chat.port**為 h5聊天服務端口,默認為20003 * 修改后需要重啟workerman才能生效 修改 h5中聊天服務端口 * 修改**utils/index.js**文件中 const VUE\_APP\_WS\_URL = process.env.VUE\_APP\_WS\_URL ||`ws://${location.hostname}:20003`; 配置項,修改20003端口 * 重新打包,可以參考[這里第三點](http://bbs.crmeb.net/forum.php?mod=viewthread&tid=1103&extra=page%3D1) 修改后臺訂單提醒服務端口 * 在**/src/setting.js**文件中修改6行 * 修改后需要重新打包
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看