|
|
@@ -721,13 +721,11 @@ class CommonFunction {
|
|
|
switch ($type_code){
|
|
|
case 'StRollBall'://滚球 正在进行
|
|
|
$where = [
|
|
|
+ // ['is_rollball','=',1],
|
|
|
['status','<','2'],
|
|
|
- ['is_rollball','=',1],
|
|
|
- /*
|
|
|
['match_date','=',date("Y-m-d")],
|
|
|
['match_time','>',date("H:i:s", time()-(90*60))],
|
|
|
['match_time','<',date("H:i:s", time())]
|
|
|
- */
|
|
|
];
|
|
|
break;
|
|
|
case 'StSoon'://即将 今日两小时内开始
|
|
|
@@ -791,14 +789,11 @@ class CommonFunction {
|
|
|
switch ($type_code){
|
|
|
case 'StRollBall'://滚球 正在进行
|
|
|
$where = [
|
|
|
- [$model_match.'.is_rollball','=',1],
|
|
|
+ // [$model_match.'.is_rollball','=',1],
|
|
|
[$model_match.'.status','<','2'],
|
|
|
- /*
|
|
|
- [$model_match.'.status','>','0'],
|
|
|
[$model_match.'.match_date','=',date("Y-m-d")],
|
|
|
[$model_match.'.match_time','>',date("H:i:s", time()-(90*60))],
|
|
|
- [$model_match.'.match_time','<',date("H:i:s", time())]
|
|
|
- */
|
|
|
+ [$model_match.'.match_time','<',date("H:i:s", time())]
|
|
|
];
|
|
|
break;
|
|
|
case 'StSoon'://即将 今日两小时内开始
|