mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
[更新]调整公众号消息处理
This commit is contained in:
parent
dd07e354aa
commit
bcda66172c
@ -255,7 +255,7 @@ class Push
|
||||
$wechat = WechatService::receive();
|
||||
switch (strtolower($type)) {
|
||||
case 'text':
|
||||
return $wechat->text($data)->reply([], true);
|
||||
return $wechat->text($data['content'])->reply([], true);
|
||||
case 'image':
|
||||
return $wechat->image($data['media_id'])->reply([], true);
|
||||
case 'video':
|
||||
|
Loading…
x
Reference in New Issue
Block a user