From a3ebb5d3f227ad9a67b93ae4eed5caabebf53fd6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E5=8D=8E=E6=B8=85?= <18691022700@163.com> Date: Tue, 20 Jan 2026 17:42:35 +0800 Subject: [PATCH] =?UTF-8?q?PK=E9=BA=A6=E4=B8=8A=20=E4=B8=8D=E8=83=BD?= =?UTF-8?q?=E4=B8=B2=E6=88=BF=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/cron/controller/RoomHourRanking.php | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/application/cron/controller/RoomHourRanking.php b/application/cron/controller/RoomHourRanking.php index 05305b6c..69aeb702 100644 --- a/application/cron/controller/RoomHourRanking.php +++ b/application/cron/controller/RoomHourRanking.php @@ -485,11 +485,8 @@ class RoomHourRanking * 配置: */ public function clear_room_today_hot_value() { - $where = []; - $where['delete_time'] = 0; - $where['is_show_room'] = 1; - $where['today_hot_value'] = ['gt',0]; - $room = db::name('vs_room')->where($where)->select(); + + $room = db::name('vs_room')->where(['room_status' => 1,'today_hot_value' => ['>',0]])->select(); echo date('Y-m-d H:i:s').' 开始清零:'.count($room)."\n"; foreach ($room as $key => $value) { $data = [