自定义back_url

This commit is contained in:
zyimm 2023-08-24 13:43:04 +08:00
parent 0c83f906e4
commit 9947f8806f

View File

@ -38,7 +38,7 @@ class Producer
} else { } else {
$uri = $uri.'/rocketmq/producer/send'; $uri = $uri.'/rocketmq/producer/send';
} }
yield new Request('POST', $uri, [], $this->buildMessage($item)); yield new Request('POST', $uri, [], json_encode($this->buildMessage($item)));
} }
}; };
//连接池 //连接池