mirror of
https://gitee.com/zoujingli/WeChatDeveloper.git
synced 2025-04-05 19:41:44 +08:00
[更新]修改Receive方法,增加指定字段参数
This commit is contained in:
parent
1fc95a1c47
commit
0bbdf10393
@ -173,11 +173,12 @@ class BasicPushEvent
|
||||
|
||||
/**
|
||||
* 获取公众号推送对象
|
||||
* @param null|string $field 指定获取字段
|
||||
* @return array
|
||||
*/
|
||||
public function getReceive()
|
||||
public function getReceive($field = null)
|
||||
{
|
||||
return $this->receive->get();
|
||||
return $this->receive->get($field);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user