<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>

                ThinkChat2.0新版上線,更智能更精彩,支持會話、畫圖、視頻、閱讀、搜索等,送10W Token,即刻開啟你的AI之旅 廣告
                ## 不兼容修改-002 > 本次修改主要為了統一命名風格 當你使用 `composer update` 命令升級后出現以下異常時,請根據以下提示修復 ## Mix\Sync\Invoke 類找不到 啟動時拋出以下異常: ``` [error] 2020-01-15 12:13:27.743 <89836> Class 'Mix\Sync\Invoke\Pool\ConnectionPool' not found [code] 0 [type] Error [file] in /Users/liujian/Downloads/mix/vendor/mix/bean/src/BeanDefinition.php on line 156 ``` 用編輯器替換全部字符 `Sync\Invoke` 為 `SyncInvoke` 。 ## Connection::invoke 調用同步執行器時出錯 當 invoke 時出現一下異常時: ``` [error] 2020-01-15 12:27:04.584 <89876> Call to undefined method Mix\SyncInvoke\Connection::invoke() [code] 0 [type] Error [file] in /Users/liujian/Downloads/mix/app/Http/Controllers/CurlController.php on line 43 ``` 在 `manifest.php` 文件中增加以下依賴配置: ~~~ // SyncInvoke客戶端 [ // 類路徑 'class' => \Mix\SyncInvoke\Client::class, // 屬性注入 'properties' => [ // 連接池 'pool' => ['ref' => 'syncInvokePool'], ], ], ~~~ 調用同步代碼修改為以下調用方式: ``` /** @var \Mix\SyncInvoke\Client $client */ $client = context()->get(\Mix\SyncInvoke\Client::class); $data = $client->invoke(function () { // 同步代碼 ... }); ``` ## Redis\Subscribe 異常 當使用 WebSocket 訂閱時出現一下異常時: ``` [error] 2020-01-15 12:21:19.843 <89859> Too few arguments to function Mix\Redis\Subscribe\Subscriber::__construct(), 0 passed in /Users/liujian/Downloads/mix/vendor/mix/bean/src/BeanDefinition.php on line 156 and at least 2 expected [code] 0 [type] ArgumentCountError [file] in /Users/liujian/Downloads/mix/vendor/mix/redis-subscribe/src/Subscriber.php on line 58 ``` 修改 `manifest.php` 文件中的 Redis 訂閱器配置如下: ``` // Redis訂閱器 [ // 類路徑 'class' => \Mix\Redis\Subscribe\Subscriber::class, // 構造函數注入 'constructorArgs' => [ // host getenv('REDIS_HOST'), // port getenv('REDIS_PORT'), // password getenv('REDIS_PASSWORD'), // timeout 5, ], ], ```
                  <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>

                              哎呀哎呀视频在线观看