Authored by lea guo

发现好货

... ... @@ -7,7 +7,7 @@ exports.index = function(req, res, next) {
const { page = 1 } = req.query || {};
req.ctx(FindGoods)
.findGoods({ page, limit: 5 })
.findGoods({ page })
.then(result => {
if (!result) {
return next();
... ...