Commit a7a13c85 authored by 陈家荣's avatar 陈家荣

update

parent c362de6b
......@@ -923,12 +923,16 @@ router.get('/threadManagement/threads/:tid/comment/search', function(req, res, n
$options: 'i'
};
}
if(floor_start){
if(floor_start && floor_end){
conditions.floor = {
$gte:floor_start,
$lte:floor_end
};
}else if(floor_start){
conditions.floor = {
$gte:floor_start
};
}
if(floor_end){
}else if(floor_end){
conditions.floor = {
$lte:floor_end
};
......
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