From e0db79bcc733745339d35fd482c2802a7bb57fd5 Mon Sep 17 00:00:00 2001 From: Anyon Date: Fri, 9 Oct 2020 14:47:06 +0800 Subject: [PATCH] Update Push.php --- app/wechat/controller/api/Push.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/wechat/controller/api/Push.php b/app/wechat/controller/api/Push.php index cf4e50c22..9a4c309b3 100644 --- a/app/wechat/controller/api/Push.php +++ b/app/wechat/controller/api/Push.php @@ -219,7 +219,7 @@ class Push extends Controller [$news, $articles] = [MediaService::instance()->news($data['news_id']), []]; if (empty($news['articles'])) return false; foreach ($news['articles'] as $vo) array_push($articles, [ - 'url' => url("@wechat/api.review/view", ['id' => $vo['id']], false, true)->build(), + 'url' => url("@wechat/api.review/view/id/{$vo['id']}", [], false, true)->build(), 'title' => $vo['title'], 'picurl' => $vo['local_url'], 'description' => $vo['digest'], ]); return $this->_sendMessage('news', ['articles' => $articles], $custom);