修复任务无法添加评论的问题

Signed-off-by: vilson <545522390@qq.com>
This commit is contained in:
vilson 2019-01-20 19:12:00 +08:00
parent 57f383a413
commit c4fada8499

View File

@ -356,8 +356,9 @@ class Task extends CommonModel
}
$data = [
'member_code' => getCurrentMember()['code'],
'task_code' => $taskCode,
'code' => createUniqueCode('taskLog'),
'source_code' => $taskCode,
'action_type' => 'task',
'code' => createUniqueCode('projectLog'),
'create_time' => nowTime(),
'is_comment' => 1,
'content' => $comment,