mirror of
https://github.com/w7corp/easywechat.git
synced 2025-02-02 02:34:22 +00:00
Updated 接收消息与回复 (markdown)
parent
e929082cb0
commit
68a8f3dfea
@ -21,9 +21,9 @@ $server = new Server($appId, $token, $encodingAESKey);
|
||||
#### 语法:
|
||||
|
||||
```php
|
||||
$wechat->on('message', callable $callback); // 全部类型
|
||||
$server->on('message', callable $callback); // 全部类型
|
||||
// or
|
||||
$wechat->on('message', string $messageType, callable $callback); // 只监听指定类型
|
||||
$server->on('message', string $messageType, callable $callback); // 只监听指定类型
|
||||
```
|
||||
|
||||
#### 参数说明:
|
||||
|
Loading…
Reference in New Issue
Block a user