新需求:PK任务 提交

This commit is contained in:
2026-01-20 18:21:46 +08:00
parent f37328f8bd
commit 3cfc391a5d
3 changed files with 35 additions and 3 deletions

View File

@@ -275,6 +275,10 @@ class Guild extends Model
$update_data['is_show_room'] = 1;
$update_data['apply_time'] = time();
$update_data['remarks'] = $remarks;
$room_info = db::name('vs_room')->where(['user_id'=>$is_operate['user_id'],'delete_time'=>0,'type_id'=>['<>',6]])->find();
if($room_info){
$update_data['room_id'] = $room_info['id'];
}
//结算比例
$configs = get_system_config();
//未加入工会的收益