任务安排-添加任务时选择任务创建模板,自动填充表单

This commit is contained in:
chenbo 2023-12-18 16:10:23 +08:00
parent 7a3c482870
commit 120e40c6e6

View File

@ -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);