Commit c60b29f4 authored by 陈志良's avatar 陈志良

1

parent 3f5ad0b3
......@@ -914,7 +914,8 @@ router.get('/thread/:tid/latestPhotos', function(req, res, next) {
var conditions = {
ent_code: req.session.user.ent_code,
pid: tid,
type: 3
type: 3,
'images.length':{$gt:0}
};
if (tid) {
......@@ -967,7 +968,8 @@ router.get('/thread/:tid/hotPhotos', function(req, res, next) {
var conditions = {
ent_code: req.session.user.ent_code,
pid: tid,
type: 3
type: 3,
'images.length':{$gt:0}
};
if (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