任务安排-添加任务时选择任务创建模板,自动填充表单
This commit is contained in:
parent
7a3c482870
commit
120e40c6e6
@ -52,6 +52,7 @@ class CreateTaskTemplateController extends BaseAdminController
|
|||||||
public function add()
|
public function add()
|
||||||
{
|
{
|
||||||
$params = (new CreateTaskTemplateValidate())->post()->goCheck('add');
|
$params = (new CreateTaskTemplateValidate())->post()->goCheck('add');
|
||||||
|
$params['admin_id'] = $this->adminId;
|
||||||
$result = CreateTaskTemplateLogic::add($params);
|
$result = CreateTaskTemplateLogic::add($params);
|
||||||
if (true === $result) {
|
if (true === $result) {
|
||||||
return $this->success('添加成功', [], 1, 1);
|
return $this->success('添加成功', [], 1, 1);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user