|
@@ -9,7 +9,7 @@ const co = require('bluebird').coroutine; |
|
@@ -9,7 +9,7 @@ const co = require('bluebird').coroutine; |
9
|
|
9
|
|
10
|
function humanNum_wan(num) {
|
10
|
function humanNum_wan(num) {
|
11
|
if (num > 9999) {
|
11
|
if (num > 9999) {
|
12
|
- num = (num / 10000).toFixed(2) + '万'
|
12
|
+ num = (num / 10000).toFixed(2) + '万';
|
13
|
}
|
13
|
}
|
14
|
|
14
|
|
15
|
return num;
|
15
|
return num;
|
|
@@ -87,7 +87,7 @@ exports.crazyWheel = (req, res, next) => { |
|
@@ -87,7 +87,7 @@ exports.crazyWheel = (req, res, next) => { |
87
|
}
|
87
|
}
|
88
|
|
88
|
|
89
|
vipDayModel.getJoinNum(1).then(result => {
|
89
|
vipDayModel.getJoinNum(1).then(result => {
|
90
|
- let joins = result && result.data || 0;
|
90
|
+ let joins = result && result.data || 0;
|
91
|
|
91
|
|
92
|
res.render('vip_day/crazy_wheel', {
|
92
|
res.render('vip_day/crazy_wheel', {
|
93
|
title: '疯狂大转盘',
|
93
|
title: '疯狂大转盘',
|
|
@@ -111,7 +111,7 @@ exports.crazyLuck = (req, res, next) => { |
|
@@ -111,7 +111,7 @@ exports.crazyLuck = (req, res, next) => { |
111
|
let joinNum = yield vipDayModel.getJoinNum(2);
|
111
|
let joinNum = yield vipDayModel.getJoinNum(2);
|
112
|
|
112
|
|
113
|
coins = (coins && coins.data && coins.data.total) || 0;
|
113
|
coins = (coins && coins.data && coins.data.total) || 0;
|
114
|
- joinNum = (joinNum && joinNum.data) || 0
|
114
|
+ joinNum = (joinNum && joinNum.data) || 0;
|
115
|
|
115
|
|
116
|
res.render('vip_day/crazy_luck', {
|
116
|
res.render('vip_day/crazy_luck', {
|
117
|
title: '拼手气',
|
117
|
title: '拼手气',
|