Merge branch 'feature/pcchannel' into develop
Showing
1 changed file
with
5 additions
and
0 deletions
@@ -2,6 +2,11 @@ | @@ -2,6 +2,11 @@ | ||
2 | 2 | ||
3 | const _ = require('lodash'); | 3 | const _ = require('lodash'); |
4 | 4 | ||
5 | +/** | ||
6 | + * 设置seo相关的数据,包括title, keywords, description | ||
7 | + * @param {Object} seoData 包含seo属性的对象 | ||
8 | + * @return {Function} 中间件函数,用于给res.locals对象添加属性 | ||
9 | + */ | ||
5 | module.exports = seoData => { | 10 | module.exports = seoData => { |
6 | const defaultSeoData = { | 11 | const defaultSeoData = { |
7 | /* eslint-disable */ | 12 | /* eslint-disable */ |
-
Please register or login to post a comment