mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
[更新]修正接口直接对接回复处理
This commit is contained in:
parent
dd00581717
commit
f1b019836f
@ -266,7 +266,7 @@ class Push
|
|||||||
case 'news':
|
case 'news':
|
||||||
return $wechat->news($data['articles'])->reply([], true);
|
return $wechat->news($data['articles'])->reply([], true);
|
||||||
case 'customservice':
|
case 'customservice':
|
||||||
WechatService::custom()->send(['touser' => $this->openid, 'msgtype' => 'text', "text" => $data['content']]);
|
WechatService::WeChatCustom()->send(['touser' => $this->openid, 'msgtype' => 'text', "text" => $data['content']]);
|
||||||
return $wechat->transferCustomerService()->reply([], true);
|
return $wechat->transferCustomerService()->reply([], true);
|
||||||
default:
|
default:
|
||||||
return 'success';
|
return 'success';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user