From c813ec5a7982196de21685ce623be0b0d56e5ff0 Mon Sep 17 00:00:00 2001 From: alsotang Date: Mon, 5 Jun 2017 14:56:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A0=E4=BA=BA=E5=9B=9E=E5=A4=8D=E7=9A=84?= =?UTF-8?q?=E8=AF=9D=E9=A2=98=E5=BF=BD=E7=95=A5=20dev=20=E7=89=88=E5=9D=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- controllers/site.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/site.js b/controllers/site.js index a1fddb0..8ddf75b 100644 --- a/controllers/site.js +++ b/controllers/site.js @@ -68,7 +68,7 @@ exports.index = function (req, res, next) { proxy.emit('no_reply_topics', no_reply_topics); } else { Topic.getTopicsByQuery( - { reply_count: 0, tab: {$ne: 'job'}}, + { reply_count: 0, tab: {$nin: ['job', 'dev']}}, { limit: 5, sort: '-create_at'}, proxy.done('no_reply_topics', function (no_reply_topics) { cache.set('no_reply_topics', no_reply_topics, 60 * 1);