* * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ #[Consumer(exchange: 'wh_ali_sls', routingKey: 'wh_ali_sls_key', queue: 'wh_ali_sls_queue', name: "AliSlsConsumer", nums: 5)] class AliSlsConsumer extends BaseConsumer { #[Inject] protected AliLogsSignService $aliLogsSignService; public function handle($data): Result { $this->aliLogsSignService->putWebTracking($data); return Result::ACK; } }