From 9306016fbede60c0d220e4f020de3067eca5ff95 Mon Sep 17 00:00:00 2001 From: zyimm Date: Mon, 10 Jul 2023 09:54:16 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E6=B3=A8=E5=86=8C=E6=96=B0=E7=9A=84?= =?UTF-8?q?=E5=9B=9E=E8=B0=83=E8=B7=AF=E7=94=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/route.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/route.php b/src/route.php index 8af73cd..493bd94 100644 --- a/src/route.php +++ b/src/route.php @@ -6,7 +6,7 @@ use function React\Async\coroutine; $path = config('rocket_mq.callback', '/rocketmq/producer/notify'); //注册回调路由 -Route::post($path, function () { +Route::any($path.'$', function () { coroutine(function () { app()->make(Consumer::class, [ request()->param()