Commit 95f41ba3 authored by strong's avatar strong

Merge branch 'master' into SANDBOX

parents e87edd9f ec7b4d1e
......@@ -28,8 +28,8 @@ var listThreadFields = {
tag:1,
tag_top:1,
pv_count:1,
address:1
address:1,
info:1
};
var singleThreadFields = {
......@@ -984,6 +984,8 @@ exports.updateTagTop = function(tid,tag_top,callback){
var time = '';
if(tag_top == 1){
time = new Date();
}else{
time = null;
}
ForumThread.findOneAndUpdate({
_id: tid
......
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