protected function doSave(Data $data)
{
$user = User::get();
if (!$user->isMember()) {
throw new ValidFailException('User not login');
}
Notification::addNotification($data->type, $data->target_id, $user->id);
}