...
|
...
|
@@ -8,12 +8,19 @@ const headerModel = require('../../../doraemon/models/header'); // 头部model |
|
|
const aboutModel = require('../../../doraemon/models/about');
|
|
|
|
|
|
const privacy = (req, res) => {
|
|
|
let parameter = {};
|
|
|
|
|
|
res.render('agreement/privacy', {
|
|
|
if (req.yoho.isApp) {
|
|
|
parameter = {
|
|
|
appVersion: '1'
|
|
|
};
|
|
|
}
|
|
|
|
|
|
res.render('agreement/privacy', Object.assign({
|
|
|
title: '隐私条款',
|
|
|
page: 'agreement',
|
|
|
width750: true
|
|
|
});
|
|
|
}, parameter));
|
|
|
};
|
|
|
|
|
|
const newpower = (req, res) => {
|
...
|
...
|
|