feat:注册新的回调路由
This commit is contained in:
parent
c3c6bfd3b7
commit
9306016fbe
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue
Block a user