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()