进入房间 签约信息
This commit is contained in:
@@ -36,12 +36,13 @@ class PerformPerSecond
|
||||
echo "房间红包清退:\n";
|
||||
$this->processExpiredRedpackets();
|
||||
echo "\n";
|
||||
// echo "房间火热值更新:\n";
|
||||
// $this->room_hot_update();
|
||||
// echo "\n";
|
||||
|
||||
echo "提现云账号订单状态查询:\n";
|
||||
$this->withdraw_order_status();
|
||||
echo "\n";
|
||||
echo "签约房时间结束处理:\n";
|
||||
$this->sign_room_time_end();
|
||||
echo "\n";
|
||||
}
|
||||
|
||||
|
||||
@@ -327,4 +328,15 @@ class PerformPerSecond
|
||||
echo "处理过期红包-共". $processedCount . "条数据\n";
|
||||
}
|
||||
|
||||
//签约房时间结束处理
|
||||
public function sign_room_time_end(){
|
||||
$res = Db::name('vs_room_sign')->where('sign_type',1)->select();
|
||||
if($res){
|
||||
foreach ($res as $value){
|
||||
if($value['end_time'] <= time()){
|
||||
model('api/Sign')->end_sign(0,$value['room_id'],$value['id'],$value['sign_user_id'],0);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user