每天执行脚本:清除房间热度值 脚本修改

This commit is contained in:
2025-08-11 17:36:59 +08:00
parent 07d631a7bb
commit 93d75a4ef3
2 changed files with 8 additions and 1 deletions

View File

@@ -24,4 +24,11 @@ class Cron
$cron = new \app\cron\controller\TenSeconds();
$cron->index();
}
//每天执行
public function DaySeconds()
{
$cron = new \app\cron\controller\DaySeconds();
$cron->index();
}
}

View File

@@ -23,7 +23,7 @@ class DaySeconds
/*
* 0点以后房间热度值清零
* 配置:定时脚本每天 0点 执行
* 配置:app.qxcms.com/Core/ClearUserRoomCion/index
* 配置:http://vschat.qxmier.com/api/Cron/DaySeconds
*/
public function clear_room_today_hot_value() {
$where = [];