Commit 7cfe6f17 authored by 邓军's avatar 邓军

去掉forumShare.js的注释

parent 0fdeda98
......@@ -130,9 +130,9 @@ router.get('/:ent_code/share.js', function(req, res, next) {
for (var i = 0; i < sc.length; i++) {
if (result.type === 1 || (result.type === 2 && result.level === 2)) {
console.log('article');
if (sc[i].type === 'article') {
console.log(sc[i]);
title = sc[i].title;
desc = sc[i].desc;
imgUrl = sc[i].imgUrl;
......@@ -147,7 +147,7 @@ router.get('/:ent_code/share.js', function(req, res, next) {
}
} else if (result.type === 3) {
console.log('photo');
if (sc[i].type === 'photo') {
title = sc[i].title;
desc = sc[i].desc;
......@@ -158,8 +158,7 @@ router.get('/:ent_code/share.js', function(req, res, next) {
}
console.log(result.type+':'+result.level);
console.log(title + ':' + desc + 'imgUrl');
getWX(res, title, desc, link, imgUrl, mid);
} else {
cont(err);
......
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