mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
[更新]微信图文推送修复
This commit is contained in:
parent
cad080a7fb
commit
95b6fd584e
@ -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('微信图文推送成功!', '');
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user