Commit 530e2846 authored by 杨翌文's avatar 杨翌文

11

parent abbe07a1
...@@ -672,15 +672,15 @@ function populateSubComment(subComments, callback) { ...@@ -672,15 +672,15 @@ function populateSubComment(subComments, callback) {
//获取数量 //获取数量
function countAllByFid(conditions, callback) { function countAllByFid(conditions, callback) {
callback(null, 21); // callback(null, 21);
// ForumThread.count(conditions, function(err, count) { ForumThread.count(conditions, function(err, count) {
// if (err) { if (err) {
// console.error(err); console.error(err);
// callback(err, null); callback(err, null);
// } else { } else {
// callback(null, count); callback(null, count);
// } }
// }); });
} }
//导出获取数量函数 //导出获取数量函数
......
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