|
@@ -250,7 +250,7 @@ class MoneyBuy extends Model {
|
|
|
// 循环添加玩法和判断玩法是否可加注
|
|
// 循环添加玩法和判断玩法是否可加注
|
|
|
foreach ($getMoneyBuyMth as $key => $value) {
|
|
foreach ($getMoneyBuyMth as $key => $value) {
|
|
|
$getMoneyBuyMth[$key]->willMoney = $value->bet_money * $value->odds;
|
|
$getMoneyBuyMth[$key]->willMoney = $value->bet_money * $value->odds;
|
|
|
- if ($value->result) {
|
|
|
|
|
|
|
+ if ($value->result and $value->order_status < 2) {
|
|
|
switch (intval($value->result)) {
|
|
switch (intval($value->result)) {
|
|
|
case 1:
|
|
case 1:
|
|
|
$oddsDiscount = 1 + $value->odds;
|
|
$oddsDiscount = 1 + $value->odds;
|