diff --git a/application/common/Model/Task.php b/application/common/Model/Task.php index 3a52692..3db3b40 100644 --- a/application/common/Model/Task.php +++ b/application/common/Model/Task.php @@ -400,8 +400,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,