...
|
...
|
@@ -41,7 +41,7 @@ exports.beforeIn = (req, res, next) => { |
|
|
|
|
|
exports.index = (req, res, next) => {
|
|
|
res.locals.module = 'activity';
|
|
|
res.locals.page = 'vipday_entry';
|
|
|
res.locals.page = 'vipday-entry';
|
|
|
res.locals.width750 = true;
|
|
|
|
|
|
let cate = {
|
...
|
...
|
@@ -50,7 +50,7 @@ exports.index = (req, res, next) => { |
|
|
goods3: [51374524, 51338322, 51344316]
|
|
|
};
|
|
|
|
|
|
if (req.app.get('env') !== 'product') {
|
|
|
if (req.app.get('env') !== 'production') {
|
|
|
cate = {
|
|
|
goods1: [512581904, 512581902, 512581900],
|
|
|
goods2: [512581822, 512581816, 512581812],
|
...
|
...
|
@@ -79,7 +79,7 @@ exports.index = (req, res, next) => { |
|
|
|
|
|
exports.crazyWheel = (req, res, next) => {
|
|
|
res.locals.module = 'activity';
|
|
|
res.locals.page = 'vipday_wheel';
|
|
|
res.locals.page = 'vipday-wheel';
|
|
|
res.locals.width750 = true;
|
|
|
|
|
|
if (!req.session.playwheel) {
|
...
|
...
|
@@ -103,7 +103,7 @@ exports.crazyLuck = (req, res, next) => { |
|
|
const uid = req.user.uid;
|
|
|
|
|
|
res.locals.module = 'activity';
|
|
|
res.locals.page = 'vipday_luck';
|
|
|
res.locals.page = 'vipday-luck';
|
|
|
res.locals.width750 = true;
|
|
|
|
|
|
co(function* () {
|
...
|
...
|
|