Commit 3122db76 authored by 陈家荣's avatar 陈家荣

修改荣誉列表接口

parent ee3a88fb
...@@ -86,6 +86,7 @@ router.get('/honorTitle/list', function(req, res, next) { ...@@ -86,6 +86,7 @@ router.get('/honorTitle/list', function(req, res, next) {
_.forEach(results.datas, function(one, i) { _.forEach(results.datas, function(one, i) {
users.push(one.user); users.push(one.user);
}); });
list[i].totalUser = results.total;
list[i].users = users; list[i].users = users;
cont(null, one); cont(null, one);
} }
......
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