[更新]修正接口直接对接回复处理

This commit is contained in:
Anyon 2018-06-22 11:28:29 +08:00
parent dd00581717
commit f1b019836f

View File

@ -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';