diff --git a/app/adminapi/controller/create_task_template/CreateTaskTemplateController.php b/app/adminapi/controller/create_task_template/CreateTaskTemplateController.php index d3c969147..e93b87b33 100644 --- a/app/adminapi/controller/create_task_template/CreateTaskTemplateController.php +++ b/app/adminapi/controller/create_task_template/CreateTaskTemplateController.php @@ -52,6 +52,7 @@ class CreateTaskTemplateController extends BaseAdminController public function add() { $params = (new CreateTaskTemplateValidate())->post()->goCheck('add'); + $params['admin_id'] = $this->adminId; $result = CreateTaskTemplateLogic::add($params); if (true === $result) { return $this->success('添加成功', [], 1, 1);