优化推送数据结构

Signed-off-by: vilson <545522390@qq.com>
This commit is contained in:
vilson 2019-07-12 14:16:00 +08:00
parent 7359174600
commit 90e2128459

View File

@ -250,7 +250,7 @@ class Task
}
}
if (isOpenNoticePush()) {
$messageService->sendToUid($taskMember['member_code'], ['content' => $notifyData['content'], 'title' => $notifyData['title'], 'data' => ['organizationCode' => getCurrentOrganizationCode()], 'notify' => $result], $notifyData['action']);
$messageService->sendToUid($taskMember['member_code'], ['content' => $notifyData['content'], 'title' => $notifyData['title'], 'data' => ['organizationCode' => getCurrentOrganizationCode(), 'projectCode' => $task['project_code'], 'taskCode' => $task['code']], 'notify' => $result], $notifyData['action']);
}
}
}