Browse Source

调整首页球类统计数量

彭俊 6 years ago
parent
commit
18f43c77b8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Application/Sports/Controller/Head.php

+ 1 - 1
Application/Sports/Controller/Head.php

@@ -82,7 +82,7 @@ class Head extends Controller{
         //按状态条件分装数组
         foreach ($matchAll as $kk=>$vv){
             //滚球
-            if($vv['is_rollball'] == '1' and $vv['status'] < 2){
+            if($vv['status'] < 2 and $vv['match_date'] == date("Y-m-d") and $vv['match_time'] > date("H:i:s", time()-(90*60)) and $vv['match_time'] < date("H:i:s", time())){
                 $StRollBall[] = $vv;
             }
             //即将