Commit 42f330db authored by 陈志良's avatar 陈志良

a

parent 5e619745
...@@ -82,7 +82,7 @@ exports.createLog = function(req,info,type,thread_type,thread,p_thread) { ...@@ -82,7 +82,7 @@ exports.createLog = function(req,info,type,thread_type,thread,p_thread) {
q.thread_type = logObj.thread_type; q.thread_type = logObj.thread_type;
} }
console.log(q); console.log(q);
ForumUVLog.find(q,function(err,doc){ ForumUVLog.findOne(q,function(err,doc){
cont(err,doc?false:true); cont(err,doc?false:true);
}) })
}).then(function(cont,isLog){ }).then(function(cont,isLog){
......
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