交友结束 计划任务
This commit is contained in:
@@ -46,7 +46,7 @@ class FriendEnd
|
||||
//清除私密小屋过期数据
|
||||
public function clear_room_end()
|
||||
{
|
||||
$room_list = db::name('vs_room_cp_movie')->where(['type'=>1,'time_day' =>['<',time()]])->select();
|
||||
$room_list = db::name('vs_room_cp_movie')->where(['status' => 1,'type'=>1,'time_day' =>['<',time()]])->select();
|
||||
if(!empty($room_list)){
|
||||
foreach ($room_list as $room) {
|
||||
model('Friend')->outRoom(0,$room['room_id']);
|
||||
|
||||
Reference in New Issue
Block a user