|
|
@@ -360,10 +360,11 @@ class MoneyBuy extends Model {
|
|
|
$moneyBuyMthOr[0][$key][0] = 'batch_id';
|
|
|
$moneyBuyMthOr[0][$key][1] = $value['batch_id'];
|
|
|
}
|
|
|
- $moneyBuyMthWhere['bet_type'] = 2;
|
|
|
+
|
|
|
// 获取注单
|
|
|
+ $moneyBuyMthWhere['bet_type'] = 2;
|
|
|
$moneyBuyMthMdl = lm('Money_buy_match', "commons");
|
|
|
- $moneyBuyMthSlt = ['status', 'matchResult', 'bet_money', 'home_team', 'guest_team', 'condition', 'odds', 'odds_name', 'match_id', 'batch_id', 'money_buy_match.game_code', 'money_buy_match.odds_code'];
|
|
|
+ $moneyBuyMthSlt = ['status', 'matchresult', 'bet_money', 'home_team', 'guest_team', 'condition', 'odds', 'odds_name', 'match_id', 'batch_id', 'money_buy_match.game_code', 'money_buy_match.odds_code'];
|
|
|
$getMoneyBuyMth = $moneyBuyMthMdl -> moneyBuyMatch($moneyBuyMthSlt, $moneyBuyMthWhere, $moneyBuyMthOr, $begin, $pageSize);
|
|
|
// 获取所有的比赛类型
|
|
|
$stGameTypeMdl = lm('StGameType', "commons");
|