add 镇农科负责人-信息收集和促销任务 提交接口
This commit is contained in:
parent
afcb9f6c24
commit
3ba50e9ea9
@ -652,7 +652,6 @@ class TaskController extends BaseApiController
|
||||
$param = $this->request->param();
|
||||
$task = Task::where(['id'=>$param['id']])->find();
|
||||
$taskTemplate = TaskTemplate::where(['id'=>$task['template_id']])->find();
|
||||
$extend = json_decode($taskTemplate['extend'], true);
|
||||
$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