From 1a01ec66e52b22bd80f952107a635cc3d0397a96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E9=92=8A?= Date: Thu, 11 Dec 2025 10:03:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=BB=E5=8A=A1=E5=8A=9F=E8=83=BD=E6=8F=90?= =?UTF-8?q?=E4=BA=A4=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/api/model/Tasks.php | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/application/api/model/Tasks.php b/application/api/model/Tasks.php index 16bb7b5f..09102dec 100644 --- a/application/api/model/Tasks.php +++ b/application/api/model/Tasks.php @@ -177,21 +177,19 @@ class Tasks extends Model $v['jump_type_str'] = $this->jump_type[$v['jump_type']]; $v['from_id'] = 0; $v['is_time'] = 0; - if(in_array($v['task_id'],[8,9])){ + if(in_array($v['task_id'],[18,19,20])){ $v['processing_type'] = 2; $v['processing_type_str'] = $this->processing_type_str[$v['processing_type']]; //跳转的房间路径 $v['from_id'] = db::name('vs_room')->where(['delete_time'=>0,'room_status'=>1,'type_id'=>['<>',6],'apply_status'=>2])->orderRaw('rand()')->value('id'); $v['target_quantity'] = $v['target_quantity'] * 60; $v['is_time'] = 1; - }elseif(in_array($v['task_id'],[10])){ - $v['processing_type'] = 7; - $v['processing_type_str'] = $this->processing_type_str[$v['processing_type']]; - $v['from_id'] = db::name('vs_room')->where(['delete_time'=>0,'room_status'=>1,'type_id'=>['<>',6],'apply_status'=>2])->orderRaw('rand()')->value('id'); } else{ $v['processing_type'] = 9; $v['processing_type_str'] = $this->processing_type_str[$v['processing_type']]; } + //奖励详情 + $v['reward_str'] = "25金币,笨笨狗x1,仙女之星头像框,三八大杠"; //返回任务列表 $reslut['tasks'][$v['task_type']-1]['task_list'][] = $v; }