seo.js
366 Bytes
/*
* @Author: yyq
* @Date: 2018-05-07
*/
'use strict';
const seoModel = require('../models/seo-service'); // seo 页 model
const hot = (req, res, next) => {
return req.ctx(seoModel).getHotKeywordDate(req.params.id, req.query, req.yoho.channel).then(result => {
res.render('seo/hot', result);
}).catch(next);
};
module.exports = {
hot
};