From d76be3637cafdffd53c79bbfbdb3b574a448d221 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BD=AD=E6=97=AD?= <345929453@qq.com> Date: Thu, 14 Mar 2024 17:21:00 +0800 Subject: [PATCH] Update README.md --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f5211a9..45ad35b 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ # Notice +- v1.0.7(含)版本上兼容hyperf2和3版本。 - easywechat6用symfony/http-client相关组件,替换了之前4,5等版本的Guzzle请求组件,Symfony Http Client在常驻内存的服务中使用时,[HttpClient会因为多个协程共用而报错](https://github.com/swoole/swoole-src/issues/5008#issuecomment-1465458380)。 pengxuxu/hyperf-easywechat6包使用hyperf的ClassMap替换了InteractWithHttpClient中的HttpClient对象实例,使得不同协程为不同的请求实例,同一协程上下文中获取到的为同一请求实例。 ```php @@ -84,12 +85,14 @@ Router::addRoute(['GET', 'POST', 'HEAD'], '/wechat', 'App\Controller\WeChatContr