Skip to content

Commit

Permalink
Update ChatRoom.php
Browse files Browse the repository at this point in the history
  • Loading branch information
NiZerin committed Jun 22, 2019
1 parent 886fa4e commit 0faf375
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Api/ChatRoom.php
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ public function sendTextMsg(
throw new YunXinArgExcetption('文本消息内容不能为空!');
}

$body = $text;
$body = json_encode($text);

return $this->sendMsg(
$roomId,
Expand Down

0 comments on commit 0faf375

Please sign in to comment.