/** * 事件解析为消息. * * @param string $eventKey 事件key * * @return Response */ public function eventToMessage($eventKey) { $event = $this->eventService->getEventByKey($eventKey); if (!isset($event['value'])) { return $this->makeEmpty(); } return $this->mediaIdToMessage($event['value']); }