Authored by zzzzzzz

"增加二维码头部,添加通用判断"

'use strict';
const model = require('../models/myqrcode');
const model = require('../models/myqrcode'),
headerModel = require('../../../doraemon/models/header'); // 头部model
exports.index = (req, res, next) => {
let params = req.query;
... ... @@ -15,6 +16,9 @@ exports.index = (req, res, next) => {
page: 'myqrcode',
isPassportPage: true,
data: params,
pageHeader: headerModel.setNav({
navTitle: '查看二维码'
})
});
}).catch(next);
};
};
\ No newline at end of file
... ...
... ... @@ -37,8 +37,9 @@
{{#if systemUpdate}}
{{> updata}}
{{/if}}
{{#unless isApp}}
{{> header}}
{{/unless}}
{{{body}}}
{{> footer}}
</div>
... ...