Commit a8583014 authored by 陈志良's avatar 陈志良

修改分享后台发布的文章使用文章标题

parent cf001253
......@@ -136,7 +136,7 @@ router.get('/:ent_code/share.js', function(req, res, next) {
case 1:
link += 'thread';
share_type = 'article';
title = thread.info.name;
title = thread.title == '发话题'?thread.info.name:thread.title;;
break;
case 2:
if(thread.level === 2){
......@@ -333,7 +333,7 @@ router.get('/sharev2.js', function(req, res, next) {
case 1://文章
link = link + 'detail';
share_type = 'article';
title = thread.info.name;
title = thread.title == '发话题'?thread.info.name:thread.title;
break;
case 2://话题
if(thread.level === 2){
......
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