...
|
...
|
@@ -5,9 +5,10 @@ const tideCommandModel = require('../models/tide-command'); |
|
|
|
|
|
exports.tideCommand = (req, res, next) => {
|
|
|
let uid = req.user.uid,
|
|
|
contentCode = '29958987ef0c0f830fad03d7e54f6061';
|
|
|
contentCode = '29958987ef0c0f830fad03d7e54f6061',
|
|
|
hideTips = req.query.hideTips === 'true' ? true : false;
|
|
|
|
|
|
req.ctx(tideCommandModel).invitionData(uid, contentCode).then(result => {
|
|
|
req.ctx(tideCommandModel).invitionData(uid, contentCode, hideTips).then(result => {
|
|
|
res.render('tide-command', {
|
|
|
page: 'tide-command',
|
|
|
pageHeader: headerModel.setNav({
|
...
|
...
|
|