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

Merge branch '0922_forum_share' into SANDBOX

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