Authored by ccbikai(👎🏻🍜)

人数显示修改

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