From 4d2dfa35407d4ea3db90a8c88e641c71e9138e51 Mon Sep 17 00:00:00 2001 From: chenbo <709206448@qq.com> Date: Mon, 18 Dec 2023 18:04:08 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=BB=E5=8A=A1=E5=AE=89=E6=8E=92-=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E4=BB=BB=E5=8A=A1=E6=97=B6=E9=80=89=E6=8B=A9=E4=BB=BB?= =?UTF-8?q?=E5=8A=A1=E5=88=9B=E5=BB=BA=E6=A8=A1=E6=9D=BF=EF=BC=8C=E8=87=AA?= =?UTF-8?q?=E5=8A=A8=E5=A1=AB=E5=85=85=E8=A1=A8=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../logic/create_task_template/CreateTaskTemplateLogic.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/adminapi/logic/create_task_template/CreateTaskTemplateLogic.php b/app/adminapi/logic/create_task_template/CreateTaskTemplateLogic.php index db4f69109..2788f0d45 100644 --- a/app/adminapi/logic/create_task_template/CreateTaskTemplateLogic.php +++ b/app/adminapi/logic/create_task_template/CreateTaskTemplateLogic.php @@ -56,7 +56,6 @@ class CreateTaskTemplateLogic extends BaseLogic 'new_money_three' => $params['new_money_three'], 'money_longtime' => $params['money_longtime'], 'types' => $params['types'], - 'extend' => $params['extend'], 'recharge' => $params['recharge'], 'content' => $params['content'] ]); @@ -97,7 +96,6 @@ class CreateTaskTemplateLogic extends BaseLogic 'new_money_three' => $params['new_money_three'], 'money_longtime' => $params['money_longtime'], 'types' => $params['types'], - 'extend' => $params['extend'], 'recharge' => $params['recharge'], 'content' => $params['content'] ]); @@ -167,7 +165,7 @@ class CreateTaskTemplateLogic extends BaseLogic public static function getList($role) { - return CreateTaskTemplate::field(['id', 'title', 'admin_id', 'task_role_id', 'type', 'stage_day_one', 'money', 'proportion_one', 'stage_day_two', 'proportion_two', 'money_two', 'stage_day_three', 'new_money_three', 'money_longtime', 'types', 'extend', 'recharge', 'content']) + return CreateTaskTemplate::field(['id', 'title', 'admin_id', 'task_role_id', 'type', 'stage_day_one', 'money', 'proportion_one', 'stage_day_two', 'proportion_two', 'money_two', 'stage_day_three', 'new_money_three', 'money_longtime', 'types', 'recharge', 'content']) ->order(['id' => 'desc']) ->whereIn('task_role_id', explode(',', $role)) ->select()