Commit 318f0be8 authored by 陈家荣's avatar 陈家荣

更新文章分享图片

parent 3e2a676a
......@@ -363,7 +363,7 @@ router.get('/sharev2.js', function(req, res, next) {
// 分享图标:帖子带图片则使用第一张图片,否则使用发帖者的头像
if(thread.images && thread.images[0]){
imgUrl = thread.images[0];
imgUrl = thread.images[0].urlFileName;
}else{
imgUrl = thread.from.displayIcon || thread.from.icon || thread.info.icon;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment