提交代码
This commit is contained in:
14
app/Http/WechatHandlers/TransferMessageHandler.php
Normal file
14
app/Http/WechatHandlers/TransferMessageHandler.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\WechatHandlers;
|
||||
|
||||
use EasyWeChat\Kernel\Contracts\EventHandlerInterface;
|
||||
|
||||
class TransferMessageHandler implements EventHandlerInterface
|
||||
{
|
||||
|
||||
public function handle($payload = null)
|
||||
{
|
||||
return '客服消息' . json_encode($payload);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user