Skip to content

Commit

Permalink
fixbug
Browse files Browse the repository at this point in the history
  • Loading branch information
周先生 authored and 周先生 committed Dec 27, 2018
1 parent a6a7968 commit b96042c
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/Receiver.php
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,15 @@ public function getMsgType()
return $this->msg['msgType'];
}

/**
* 获取消息接受的用户,一般是自己
* @return bool
*/
public function getToUserName()
{
return $this->msg['toUserName'];
}

/**
* 获取消息内容
* @return mixed
Expand Down

0 comments on commit b96042c

Please sign in to comment.