seven 2 달 전
부모
커밋
9c4fff7a68
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      app/Services/BetService.php

+ 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";
                 // 结算