签约到期处理

This commit is contained in:
2025-12-05 14:47:44 +08:00
parent 30a774baf9
commit 095c1a28fb
4 changed files with 22 additions and 31 deletions

View File

@@ -5,6 +5,18 @@ namespace app\api\controller;
class Cron
{
//每秒执行
/*
*拍卖房结束提醒
* Pk房连线中倒计时结束操作PK结束
* Pk房PK进行中倒计时结束操作PK结束
* Pk房PK结束惩罚倒计时结束断开操作
* 房间红包清退
* pk发起10秒后无应答拒绝
* 提现云账号订单状态查询
* 签约房时间结束处理
* 系统降身价
* 签约到期处理
*/
public function PerformPerSecond()
{
$cron = new \app\cron\controller\PerformPerSecond();
@@ -34,7 +46,7 @@ class Cron
$cron->index();
}
//巡乐会结束 礼物发放
//巡乐会结束 礼物发放 保持心跳
public function XlhSend(){
$cron = new \app\cron\controller\RoomPan();
$cron->index();

View File

@@ -28,10 +28,10 @@ class Sign extends Model
$is_first_sign = db::name('vs_user_sign')->where('sign_user_id',$sign_user_id)->count();
if($is_first_sign < 1){
//第一次被签平台抽成
//第一次被签默认时长
$sign_times = get_system_config_value('first_sign_times');
}else{
//不是第一次被签平台抽成
//非首次签约默认时长
$sign_times = get_system_config_value('sign_times');
}

View File

@@ -368,7 +368,7 @@ class Tencent extends Model
);
$curlPost = json_encode($curlPost);
$reslut = $this->tencent_post_url($postUrl, $curlPost);
// Log::record("腾讯群内删除成员结果".json_encode($reslut),"info");
Log::record("腾讯群内删除成员结果".json_encode($reslut),"info");
if($reslut['ActionStatus'] == 'OK'){
return ['code' => 1, 'msg' => '操作成功', 'data' => null];
}else{