每天执行脚本:清除房间热度值 脚本修改
This commit is contained in:
@@ -24,4 +24,11 @@ class Cron
|
|||||||
$cron = new \app\cron\controller\TenSeconds();
|
$cron = new \app\cron\controller\TenSeconds();
|
||||||
$cron->index();
|
$cron->index();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//每天执行
|
||||||
|
public function DaySeconds()
|
||||||
|
{
|
||||||
|
$cron = new \app\cron\controller\DaySeconds();
|
||||||
|
$cron->index();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@@ -23,7 +23,7 @@ class DaySeconds
|
|||||||
/*
|
/*
|
||||||
* 0点以后房间热度值清零
|
* 0点以后房间热度值清零
|
||||||
* 配置:定时脚本每天 0点 执行
|
* 配置:定时脚本每天 0点 执行
|
||||||
* 配置:app.qxcms.com/Core/ClearUserRoomCion/index
|
* 配置:http://vschat.qxmier.com/api/Cron/DaySeconds
|
||||||
*/
|
*/
|
||||||
public function clear_room_today_hot_value() {
|
public function clear_room_today_hot_value() {
|
||||||
$where = [];
|
$where = [];
|
||||||
|
|||||||
Reference in New Issue
Block a user