[更新]修改微信图文模块

This commit is contained in:
Anyon 2017-04-25 18:11:38 +08:00
parent 789ef8e228
commit 86eb62101d

View File

@ -123,7 +123,6 @@ class Api extends Controller {
return $this->_keys('wechat_keys#keys#default', true);
}
/**
* 回复图文
* @param int $news_id
@ -137,7 +136,7 @@ class Api extends Controller {
'Title' => $vo['title'],
'Description' => $vo['digest'],
'PicUrl' => $vo['local_url'],
'Url' => url("@wechat/view/news/id/{$vo['id']}", '', true, true)
'Url' => url("@wechat/review/index", '', true, true) . "?content={$vo['id']}&type=article",
];
}
return $this->wechat->news($newsdata)->reply();