|
|
@@ -301,13 +301,15 @@ class IssueService extends BaseService
|
|
|
foreach($fake_bet_list as $k => $v){
|
|
|
$lastStr = self::getLastChar($v['first_name'],1);
|
|
|
if(in_array($v['keywords'],$awards)){
|
|
|
- $profit = $v['amount'] * $v['odds'];
|
|
|
+ $amount = (float)$v['amount'];
|
|
|
+ $odds = (float)$v['odds'];
|
|
|
+ $profit = $amount * $odds;
|
|
|
if($profit > 880000){
|
|
|
$profit = 880000; // 单注最高奖金880000
|
|
|
}
|
|
|
$item['profit'] = $profit;
|
|
|
|
|
|
- $yl = $profit - $v['amount'];
|
|
|
+ $yl = $profit - $amount;
|
|
|
if($k+1 <= 30){
|
|
|
$text .= "私聊下注 【******".$lastStr."】 {$yl}\n";
|
|
|
}
|