Commit 87b7cf4b authored by 陈家荣's avatar 陈家荣

update

parent 77387afb
......@@ -335,13 +335,13 @@ exports.getThreadById = function(tid, callback) {
if(doc.type == 2){
conditions = {
pid: tid,
type: 2,
level : 2,
status:{$ne: 3}
};
}else if(doc.type == 3){
conditions = {
pid: tid,
type: 3,
level : 2,
status:{$ne: 3}
};
}else{
......@@ -375,9 +375,8 @@ exports.getThreadById = function(tid, callback) {
}
var conditions = {
pid: tid,
type: 3,
status:1,
images: {$exists: true, $not: {$size: 0}}
level : 2,
status:{$ne: 3}
};
var key = 'pisns-forum-thread:' + tid + ':subThreads';
......
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