fixed
This commit is contained in:
parent
4d284266fa
commit
9d3ec12d9e
@ -652,6 +652,7 @@ class TaskController extends BaseApiController
|
||||
$param = $this->request->param();
|
||||
$task = Task::where(['id'=>$param['id']])->find();
|
||||
$taskTemplate = TaskTemplate::where(['id'=>$task['template_id']])->find();
|
||||
$extend = $taskTemplate['extend'];
|
||||
$extend['purchase_sales_info'][] = $param['purchase_sales_info'];
|
||||
$taskTemplate->save(['extend'=>json_encode($extend)]);
|
||||
return $this->success('成功', []);
|
||||
|
Loading…
x
Reference in New Issue
Block a user