Browse Source

追加联赛id

彭俊 6 years ago
parent
commit
2f1492da9d
1 changed files with 3 additions and 0 deletions
  1. 3 0
      Application/Api/Controller/Betorder.php

+ 3 - 0
Application/Api/Controller/Betorder.php

@@ -235,6 +235,8 @@ class Betorder extends BaseController{
                 if($vv['match_id'] == 0){
                     $is_champion = 1;
                 }
+                //获取联赛id lg_id
+                $lg_id = $vv['lg_id'];
                 $bet_money += $vv['bet_amount'];
                 //计算每个投注玩法下的可赢金额
                 // $prize_money += $this->commonFunction->getEarnMoney($game_code,$vv['p_code'],$vv['odds'],$vv['bet_amount'],1);
@@ -277,6 +279,7 @@ class Betorder extends BaseController{
                 'game_code' => $game_code,
                 'batch_id' => $batch_id,
                 'match_id' => $k,
+                'lg_id' => $lg_id,
                 'game_no'  => "",
                 'prize_money'=> $prize_money,
                 'money' => $bet_money, //投注金额