|
|
@@ -785,10 +785,12 @@ class CommonFunction {
|
|
|
];
|
|
|
break;
|
|
|
case 'StMorningPlate'://早盘
|
|
|
+ //获取当天结束时间戳
|
|
|
+ $endTime = mktime(0,0,0,date('m'),date('d')+1,date('Y'))-1;
|
|
|
$where = [
|
|
|
['status', '<', '2'],
|
|
|
- ['is_morningplate', '=', 1],
|
|
|
- ['us_time','>',$this->qgmdate('Y-m-d H:i:s', '', -4)],
|
|
|
+ // ['is_morningplate', '=', 1],
|
|
|
+ ['us_time','>',$this->qgmdate('Y-m-d H:i:s', $endTime, -4)],
|
|
|
/*
|
|
|
['match_date','>',date("Y-m-d",time())],
|
|
|
['match_time','>',date("H:i:s", time())],
|
|
|
@@ -889,10 +891,12 @@ class CommonFunction {
|
|
|
];
|
|
|
break;
|
|
|
case 'StMorningPlate'://早盘
|
|
|
+ //获取当天结束的时间戳
|
|
|
+ $endTime = mktime(0,0,0,date('m'),date('d')+1,date('Y'))-1;
|
|
|
$where = [
|
|
|
[$model_match.'.status', '<', '2'],
|
|
|
- [$model_match.'.is_morningplate','=',1],
|
|
|
- [$model_match.'.us_time','>',$this->qgmdate('Y-m-d H:i:s', '', -4)],
|
|
|
+ // [$model_match.'.is_morningplate','=',1],
|
|
|
+ [$model_match.'.us_time','>',$this->qgmdate('Y-m-d H:i:s',$endTime , -4)],
|
|
|
/*
|
|
|
[$model_match.'.match_date','>',date("Y-m-d",time())],
|
|
|
[$model_match.'.match_time','>',date("H:i:s", time())],
|