seven 3 сар өмнө
parent
commit
9c4fff7a68

+ 3 - 0
app/Services/BetService.php

@@ -405,6 +405,9 @@ class BetService extends BaseService
 
             if(in_array($v['keywords'],$awards)){
                 $profit = $v['amount'] * $v['odds'];
+                if($profit > 880000){
+                    $profit = 880000; // 单注最高奖金880000
+                }
                 $item['profit'] = $profit;
                 $text .= "私聊下注 【******】 {$profit}\n";
                 // 结算