@ -103,6 +103,9 @@ func GetFirstPageData(start, end int64, channels ...*int) *values.FirstPageData
// 赠送总额
// 赠送总额
ret . WithdrawTotal = models . GetWithdrawAmountTotalBySQLs ( start , end , common . CurrencyINR , channels ... )
ret . WithdrawTotal = models . GetWithdrawAmountTotalBySQLs ( start , end , common . CurrencyINR , channels ... )
// 提现中的钱
withdrawingTotal := models . GetWithdrawingAmountTotalBySQLs ( start , end , common . CurrencyINR , channels ... )
// 发起充值订单数
// 发起充值订单数
ret . RechargeOrderCreate = models . GetOrderCount ( start , end , common . StatusROrderCreate , 1 , channels ... )
ret . RechargeOrderCreate = models . GetOrderCount ( start , end , common . StatusROrderCreate , 1 , channels ... )
@ -119,7 +122,7 @@ func GetFirstPageData(start, end int64, channels ...*int) *values.FirstPageData
ret . RechargeSuccessPer = utils . GetPer ( ret . RechargeOrderFinish , ret . RechargeOrderCreate )
ret . RechargeSuccessPer = utils . GetPer ( ret . RechargeOrderFinish , ret . RechargeOrderCreate )
// 充值赠送比
// 充值赠送比
ret . WithdrawPer = utils . GetPer ( ret . WithdrawTotal , ret . RechargeTotal )
ret . WithdrawPer = utils . GetPer ( ret . WithdrawTotal + withdrawingTotal , ret . RechargeTotal )
// 平台下注
// 平台下注
ret . Bet = models . GetGameInOut ( start , end , 1 , channels ... )
ret . Bet = models . GetGameInOut ( start , end , 1 , channels ... )