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

社区 - 评论 bug修复

parent a974a4c1
...@@ -466,7 +466,7 @@ router.post('/thread/:tid/comment/create', function(req, res, next) { ...@@ -466,7 +466,7 @@ router.post('/thread/:tid/comment/create', function(req, res, next) {
function(callback) { function(callback) {
//3.更新文章统计数据(评论数) //3.更新文章统计数据(评论数)
if (thread) { if (thread) {
forumThreadService.updateThreadCommentCount(tid, function(err, results) { forumThreadService.updateThreadCommentCountInc(tid, function(err, results) {
if (err) { if (err) {
console.log(err); console.log(err);
callback(err, null); callback(err, null);
......
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