|
|
@@ -726,37 +726,41 @@ class CommonFunction {
|
|
|
if($game_code == 'zq' || $game_code == 'gj'){
|
|
|
$where = [
|
|
|
// ['is_rollball','=',1],
|
|
|
- ['status','<','2'],
|
|
|
- ['match_date','=',date("Y-m-d")],
|
|
|
- ['match_time','>',date("H:i:s", time()-(120*60))],
|
|
|
- ['match_time','<',date("H:i:s", time())]
|
|
|
+ // ['status','<','2'],
|
|
|
+ // ['match_date','=',date("Y-m-d")],
|
|
|
+ // ['match_time','>',date("H:i:s", time()-(120*60))],
|
|
|
+ // ['match_time','<',date("H:i:s", time())]
|
|
|
+ ['status','=','1']
|
|
|
];
|
|
|
}
|
|
|
if($game_code == 'lq'){
|
|
|
$where = [
|
|
|
// ['is_rollball','=',1],
|
|
|
- ['status','<','2'],
|
|
|
- ['match_date','=',date("Y-m-d")],
|
|
|
- ['match_time','>',date("H:i:s", time()-(90*60))],
|
|
|
- ['match_time','<',date("H:i:s", time())]
|
|
|
+ // ['status','<','2'],
|
|
|
+ // ['match_date','=',date("Y-m-d")],
|
|
|
+ // ['match_time','>',date("H:i:s", time()-(90*60))],
|
|
|
+ // ['match_time','<',date("H:i:s", time())]
|
|
|
+ ['status','=','1']
|
|
|
];
|
|
|
}
|
|
|
if($game_code == 'wq'){
|
|
|
$where = [
|
|
|
// ['is_rollball','=',1],
|
|
|
- ['status','<','2'],
|
|
|
- ['match_date','=',date("Y-m-d")],
|
|
|
- ['match_time','>',date("H:i:s", time()-(300*60))],
|
|
|
- ['match_time','<',date("H:i:s", time())]
|
|
|
+ // ['status','<','2'],
|
|
|
+ // ['match_date','=',date("Y-m-d")],
|
|
|
+ // ['match_time','>',date("H:i:s", time()-(300*60))],
|
|
|
+ // ['match_time','<',date("H:i:s", time())]
|
|
|
+ ['status','=','1']
|
|
|
];
|
|
|
}
|
|
|
if($game_code == 'bq'){
|
|
|
$where = [
|
|
|
// ['is_rollball','=',1],
|
|
|
- ['status','<','2'],
|
|
|
- ['match_date','=',date("Y-m-d")],
|
|
|
- ['match_time','>',date("H:i:s", time()-(300*60))],
|
|
|
- ['match_time','<',date("H:i:s", time())]
|
|
|
+ // ['status','<','2'],
|
|
|
+ // ['match_date','=',date("Y-m-d")],
|
|
|
+ // ['match_time','>',date("H:i:s", time()-(300*60))],
|
|
|
+ // ['match_time','<',date("H:i:s", time())]
|
|
|
+ ['status','=','1']
|
|
|
];
|
|
|
}
|
|
|
|
|
|
@@ -827,37 +831,41 @@ class CommonFunction {
|
|
|
if($game_code == 'zq' || $game_code == 'gj'){
|
|
|
$where = [
|
|
|
// [$model_match.'.is_rollball','=',1],
|
|
|
- [$model_match.'.status','<','2'],
|
|
|
- [$model_match.'.match_date','=',date("Y-m-d")],
|
|
|
- [$model_match.'.match_time','>',date("H:i:s", time()-(120*60))],
|
|
|
- [$model_match.'.match_time','<',date("H:i:s", time())]
|
|
|
+ // [$model_match.'.status','<','2'],
|
|
|
+ // [$model_match.'.match_date','=',date("Y-m-d")],
|
|
|
+ // [$model_match.'.match_time','>',date("H:i:s", time()-(120*60))],
|
|
|
+ // [$model_match.'.match_time','<',date("H:i:s", time())]
|
|
|
+ [$model_match.'.status','=','1']
|
|
|
];
|
|
|
}
|
|
|
if($game_code == 'lq'){
|
|
|
$where = [
|
|
|
// [$model_match.'.is_rollball','=',1],
|
|
|
- [$model_match.'.status','<','2'],
|
|
|
- [$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.'.status','<','2'],
|
|
|
+ // [$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.'.status','=','1']
|
|
|
];
|
|
|
}
|
|
|
if($game_code == 'wq'){
|
|
|
$where = [
|
|
|
// [$model_match.'.is_rollball','=',1],
|
|
|
- [$model_match.'.status','<','2'],
|
|
|
- [$model_match.'.match_date','=',date("Y-m-d")],
|
|
|
- [$model_match.'.match_time','>',date("H:i:s", time()-(300*60))],
|
|
|
- [$model_match.'.match_time','<',date("H:i:s", time())]
|
|
|
+ // [$model_match.'.status','<','2'],
|
|
|
+ // [$model_match.'.match_date','=',date("Y-m-d")],
|
|
|
+ // [$model_match.'.match_time','>',date("H:i:s", time()-(300*60))],
|
|
|
+ // [$model_match.'.match_time','<',date("H:i:s", time())]
|
|
|
+ [$model_match.'.status','=','1']
|
|
|
];
|
|
|
}
|
|
|
if($game_code == 'bq'){
|
|
|
$where = [
|
|
|
// [$model_match.'.is_rollball','=',1],
|
|
|
- [$model_match.'.status','<','2'],
|
|
|
- [$model_match.'.match_date','=',date("Y-m-d")],
|
|
|
- [$model_match.'.match_time','>',date("H:i:s", time()-(300*60))],
|
|
|
- [$model_match.'.match_time','<',date("H:i:s", time())]
|
|
|
+ // [$model_match.'.status','<','2'],
|
|
|
+ // [$model_match.'.match_date','=',date("Y-m-d")],
|
|
|
+ // [$model_match.'.match_time','>',date("H:i:s", time()-(300*60))],
|
|
|
+ // [$model_match.'.match_time','<',date("H:i:s", time())]
|
|
|
+ [$model_match.'.status','=','1']
|
|
|
];
|
|
|
}
|
|
|
|