Commit 04bc5d23 authored by 许文聪's avatar 许文聪

修改降序的bug

parent 3556b149
......@@ -109,7 +109,7 @@ router.post('/notice/search', function(req, res, next) {
status=req.body.status,
finished=req.body.finished;
var _condition = {ent_code:req.session.user.ent_code},_sort = {};
//如果sort为空
if(!sort)
{
_sort = {top:-1,createtime:-1};
......
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