|
|
@@ -1328,7 +1328,7 @@ class tools {
|
|
|
// $sql_where .= " and ni.insert_date >= TO_TIMESTAMP('".$_REQUEST['current_time']."', 'MM/DD/YYYY HH24:MI:SS') - interval '5 minutes'
|
|
|
// and ni.is_send_message is null";
|
|
|
//这里都以服务器时间,检查标准
|
|
|
- $sql_where .= " and ni.is_send_message is null";
|
|
|
+ $sql_where .= " and ni.insert_date >= now() - interval '5 minutes' and ni.is_send_message is null";
|
|
|
}
|
|
|
if (!empty($_REQUEST['info_type']) && $_REQUEST['info_type'] == 'true'){
|
|
|
$sql_where .= " and ni.is_send_message is null";
|