From 95b6fd584efcebd34ee22e62172dd0441f4af662 Mon Sep 17 00:00:00 2001 From: Anyon Date: Fri, 4 May 2018 14:31:39 +0800 Subject: [PATCH] =?UTF-8?q?[=E6=9B=B4=E6=96=B0]=E5=BE=AE=E4=BF=A1=E5=9B=BE?= =?UTF-8?q?=E6=96=87=E6=8E=A8=E9=80=81=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/wechat/controller/News.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/application/wechat/controller/News.php b/application/wechat/controller/News.php index a34397874..a8b3e86d5 100644 --- a/application/wechat/controller/News.php +++ b/application/wechat/controller/News.php @@ -254,8 +254,7 @@ class News extends BasicAdmin $data['filter'] = ['is_to_all' => false, 'tag_id' => join(',', $post['fans_tags'])]; $data['mpnews'] = ['media_id' => $newsinfo['media_id']]; } - $wechat = WechatService::custom(); - if (false !== $wechat->massSendAll($data)) { + if (WechatService::custom()->massSendAll($data)) { LogService::write('微信管理', "图文[{$news_id}]推送成功"); $this->success('微信图文推送成功!', ''); }