...
|
...
|
@@ -2,7 +2,10 @@ |
|
|
const model = require('../models/feature');
|
|
|
|
|
|
exports.index = function(req, res, next) {
|
|
|
model.index(req.params).then((result) => {
|
|
|
model.index({
|
|
|
code: req.params.code,
|
|
|
type: req.query.type
|
|
|
}).then((result) => {
|
|
|
res.render('feature', {
|
|
|
module: 'activity',
|
|
|
page: 'feature',
|
...
|
...
|
|