mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
[更新]修改微信图文模块
This commit is contained in:
parent
789ef8e228
commit
86eb62101d
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user