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

32

parent c60b29f4
......@@ -915,7 +915,7 @@ router.get('/thread/:tid/latestPhotos', function(req, res, next) {
ent_code: req.session.user.ent_code,
pid: tid,
type: 3,
'images.length':{$gt:0}
'images.1':{$exists: true}
};
if (tid) {
......@@ -969,7 +969,7 @@ router.get('/thread/:tid/hotPhotos', function(req, res, next) {
ent_code: req.session.user.ent_code,
pid: tid,
type: 3,
'images.length':{$gt:0}
'images.1':{$exists: true}
};
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