...
|
...
|
@@ -9,12 +9,10 @@ const searchModel = require('../models/search'); |
|
|
|
|
|
/* 搜索 页面 */
|
|
|
exports.index = (req, res) => {
|
|
|
const view = {
|
|
|
res.render('product-list', {
|
|
|
module: 'product',
|
|
|
page: 'list'
|
|
|
};
|
|
|
|
|
|
res.render('product-list', view);
|
|
|
});
|
|
|
};
|
|
|
|
|
|
/* 查询 产品列表 method:GET */
|
...
|
...
|
|