This commit is contained in:
2025-06-26 10:05:04 +08:00
parent 0f57d5a04a
commit 28f0dd0c06
4 changed files with 25 additions and 19 deletions

View File

@@ -21,7 +21,7 @@ class ImService extends BaseService
public function sendMessage($data, $type = MessageTypeEnum::Text->value)
{
$data['message_type'] = $type;
$data['message_type'] = MessageTypeEnum::from($type)->description();
GatewayClientService::getInstance()->init()->sendToUser(
$this->userId,
$this->userId === 1? 2: 1,