Authored by ccbikai(👎🏻🍜)

人数显示修改

... ... @@ -89,7 +89,7 @@ exports.crazyWheel = (req, res, next) => {
}
vipDayModel.getJoinNum(1).then(result => {
let joins = result && result.data || 0;
let joins = result && result.data || 0;
res.render('vip_day/crazy_wheel', {
title: '疯狂大转盘',
... ... @@ -113,7 +113,7 @@ exports.crazyLuck = (req, res, next) => {
let joinNum = yield vipDayModel.getJoinNum(2);
coins = (coins && coins.data && coins.data.total) || 0;
joinNum = (joinNum && joinNum.data) || 0
joinNum = (joinNum && joinNum.data) || 0;
res.render('vip_day/crazy_luck', {
title: '拼手气',
... ...