Authored by xuqi

默认是否登录数据

... ... @@ -9,6 +9,7 @@ exports.show = function(req, res) {
res.render('pages/tag', {
data: data,
layout: '../layouts/layout',
isEditor: true
isEditor: true,
isLogin: 'Y'
});
};
\ No newline at end of file
... ...
... ... @@ -12,7 +12,8 @@ exports.show = function(req, res) {
res.render('pages/ps', {
data: data,
layout: '../layouts/layout',
isPs: true
isPs: true,
isLogin: 'Y'
});
};
... ...
... ... @@ -9,7 +9,8 @@ exports.show = function(req, res) {
res.render('pages/saunter', {
data: data,
layout: '../layouts/layout',
isSaunter: true
isSaunter: true,
isLogin: 'N'
});
};
... ...
... ... @@ -10,7 +10,8 @@ exports.show = function(req, res) {
res.render('pages/tag', {
data: data,
layout: '../layouts/layout',
isTag: true
isTag: true,
isLogin: 'N'
});
};
... ...
... ... @@ -15,7 +15,8 @@ exports.show = function(req, res) {
res.render('pages/template', {
data: data,
layout: '../layouts/layout',
isTemplate: true
isTemplate: true,
isLogin: 'Y'
});
};
... ...