You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
yanqing6628780
changed the title
Message/Article类的$properties内的source_url没有正常转换为content_source_url.
[3.0]Message/Article类的$properties内的source_url没有正常转换为content_source_url.
Feb 7, 2016
要改成以下才能正常提交原文链接
`class Article extends AbstractMessage
{
/**
* Properties.
*
* @var array
*/
protected $properties = [
'thumb_media_id',
'author',
'title',
'content',
'digest',
'content_source_url',
// 'source_url',
'show_cover',
];
}`
我在new时使用source_url构造.看日志,post到微信那边的字段还是source_url.
$article = new Article([
'title' => $item['title'],
'author' => $item['author'],
'content' => $item['content'],
'digest' => $item['digest'],
'source_url' => $item['content_source_url'],
]);
The text was updated successfully, but these errors were encountered: