Commit 910062ea authored by 陈志良's avatar 陈志良

分享

parent f9ae628c
......@@ -143,7 +143,7 @@ router.get('/:ent_code/share.js', function(req, res, next) {
}else{
link += 'topicList';
share_type = 'topic';
title = thread.pid.name;
title = thread.pid.title;
}
break;
case 3:
......@@ -154,7 +154,7 @@ router.get('/:ent_code/share.js', function(req, res, next) {
}else{
link += 'photoList';
share_type = 'photo';
title = thread.pid.name;
title = thread.pid.title;
}
break;
}
......@@ -331,7 +331,7 @@ router.get('/sharev2.js', function(req, res, next) {
if(thread.level === 2){
link += 'detail';
share_type = 'article';
title = thread.pid.name;
title = thread.pid.title;
}else if(thread.level === 1){
link += 'topic';
share_type = 'topic';
......@@ -342,7 +342,7 @@ router.get('/sharev2.js', function(req, res, next) {
if(thread.level === 2){
link += 'photoDetail';
share_type = 'photo';
title = thread.pid.name;
title = thread.pid.title;
}else if(thread.level === 1){
link += 'photoWall';
share_type = 'photo';
......
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